From ffbff94a3112e75679c86302f12a2b14f58dd3b6 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 2 Jun 2015 12:38:01 +0200 Subject: [PATCH] pm-utils: add transition symlinks. --- srcpkgs/pm-utils/INSTALL | 9 +++++++++ srcpkgs/pm-utils/template | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/pm-utils/INSTALL diff --git a/srcpkgs/pm-utils/INSTALL b/srcpkgs/pm-utils/INSTALL new file mode 100644 index 0000000000..8c0df3b0bf --- /dev/null +++ b/srcpkgs/pm-utils/INSTALL @@ -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 diff --git a/srcpkgs/pm-utils/template b/srcpkgs/pm-utils/template index 6d9e6dbaed..6d51e52619 100644 --- a/srcpkgs/pm-utils/template +++ b/srcpkgs/pm-utils/template @@ -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="