summaryrefslogtreecommitdiff
path: root/pm
diff options
context:
space:
mode:
authorVictor Lowther <victor.lowther@gmail.com>2008-03-09 14:49:50 -0500
committerVictor Lowther <victor.lowther@gmail.com>2008-03-09 14:49:50 -0500
commit47cc4095aa3a310b829a9b274d5de0f7e6af7326 (patch)
treedd7947db798a152ef7e6a6d781e1b77b789debf8 /pm
parentcab059db8842ffcae4b34af9805e34f3ae4f41d3 (diff)
Ensure wwe have made $STORAGEDIR before trying to blacklist hooks.
Diffstat (limited to 'pm')
-rw-r--r--pm/pm-functions.in1
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.