void-packages/srcpkgs/pm-utils/INSTALL

10 lines
185 B
Text
Raw Normal View History

2015-06-02 10:38:01 +00:00
case "$ACTION" in
post)
if [ -d usr/sbin -a ! -L usr/sbin ]; then
2015-06-02 10:40:05 +00:00
for f in hibernate powersave suspend suspend-hybrid; do
ln -sfr usr/bin/pm-$f usr/sbin/pm-$f
2015-06-02 10:38:01 +00:00
done
fi
;;
esac