pm-utils: add transition symlinks.
This commit is contained in:
parent
01b120ad2f
commit
ffbff94a31
2 changed files with 10 additions and 1 deletions
9
srcpkgs/pm-utils/INSTALL
Normal file
9
srcpkgs/pm-utils/INSTALL
Normal file
|
@ -0,0 +1,9 @@
|
|||
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
|
||||
done
|
||||
fi
|
||||
;;
|
||||
esac
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'pm-utils'
|
||||
pkgname=pm-utils
|
||||
version=1.4.1
|
||||
revision=5
|
||||
revision=6
|
||||
build_style=gnu-configure
|
||||
configure_args="--sbindir=/usr/bin"
|
||||
make_dirs="
|
||||
|
|
Loading…
Reference in a new issue