[Pm-utils] [PATCH 10/12] Ensure wwe have made $STORAGEDIR before trying to blacklist hooks.
Victor Lowther
victor.lowther at gmail.com
Tue Mar 11 18:08:53 PDT 2008
---
pm/pm-functions.in | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/pm/pm-functions.in b/pm/pm-functions.in
index f1be7f5..120bc33 100644
--- a/pm/pm-functions.in
+++ b/pm/pm-functions.in
@@ -47,6 +47,7 @@ for cfg in "${PM_UTILS_ETCDIR}"/config.d/*[!~] ; do
done
. "${PM_FUNCTIONS}"
+mkdir -p "$STORAGEDIR"
[ -f "$PM_UTILS_ETCDIR/blacklist" ] && {
# loop through the blacklist file, adding entries to our hook blacklist.
--
1.5.4.3
More information about the Pm-utils
mailing list