summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/pm-action.in2
-rwxr-xr-xsrc/pm-powersave.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/pm-action.in b/src/pm-action.in
index 68dbb93..b9b32dd 100755
--- a/src/pm-action.in
+++ b/src/pm-action.in
@@ -84,7 +84,7 @@ do
shift
done
-export PM_FUNCTIONS="/usr/lib/pm-utils/functions"
+export PM_FUNCTIONS="@PM-UTILS-LIBDIR@/functions"
. "${PM_FUNCTIONS}"
[ -f /sys/power/state ] || exit 1
diff --git a/src/pm-powersave.in b/src/pm-powersave.in
index 5611586..51de744 100755
--- a/src/pm-powersave.in
+++ b/src/pm-powersave.in
@@ -25,7 +25,7 @@
#
POWERSAVE_LOGFILE="/dev/null"
-PM_FUNCTIONS="/usr/lib/pm-utils/functions"
+PM_FUNCTIONS="@PM-UTILS-LIBDIR@/functions"
. "${PM_FUNCTIONS}"
if [ "x$1" = "xtrue" -o "x$1" = "xfalse" ] ; then