pm-utils: fix symlinks in previous.

This commit is contained in:
Juan RP 2015-06-02 12:40:05 +02:00
parent ffbff94a31
commit 212a57a9a5
2 changed files with 3 additions and 3 deletions

View file

@ -1,8 +1,8 @@
case "$ACTION" in
post)
if [ -d usr/sbin -a ! -L usr/sbin ]; then
for f in pm-{hibernate,powersave,suspend,suspend-hybrid}; do
ln -sr usr/bin/$f usr/sbin/$f
for f in hibernate powersave suspend suspend-hybrid; do
ln -sfr usr/bin/pm-$f usr/sbin/pm-$f
done
fi
;;

View file

@ -1,7 +1,7 @@
# Template file for 'pm-utils'
pkgname=pm-utils
version=1.4.1
revision=6
revision=7
build_style=gnu-configure
configure_args="--sbindir=/usr/bin"
make_dirs="