diff options
author | Victor Lowther <victor.lowther@gmail.com> | 2008-03-05 15:26:47 -0600 |
---|---|---|
committer | Victor Lowther <victor.lowther@gmail.com> | 2008-03-05 15:26:47 -0600 |
commit | 9232cd18a317936de20d365b4e9178eead4c7c41 (patch) | |
tree | a1982beea1f493feac9de456118f1ae45905fdc1 /src/pm-action.in | |
parent | 94722ed73c79fefc3e98c6cd1c194eddeb325aeb (diff) |
Split functions.in into functions.in and pm-functions.in
pm-functions.in contains the functionality that should only be used by the
pm-utils frontends (pm-action, pm-is-supported, and pm-powersave).
functions.in contains code that is shared between the hooks and the pm-utils
frontends.
The reason behind splitting this out is to reduce namespace pollution in
the hooks.
Diffstat (limited to 'src/pm-action.in')
-rw-r--r-- | src/pm-action.in | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/pm-action.in b/src/pm-action.in index e87b7f8..32525c8 100644 --- a/src/pm-action.in +++ b/src/pm-action.in @@ -85,8 +85,7 @@ do shift done -export PM_FUNCTIONS="@PM-UTILS-LIBDIR@/functions" -. "${PM_FUNCTIONS}" +. "@PM-UTILS-LIBDIR@/pm-functions" ACTION="$(echo ${0##*pm-} |tr - _)" |