diff options
author | Victor Lowther <victor.lowther@gmail.com> | 2008-03-09 14:49:50 -0500 |
---|---|---|
committer | Victor Lowther <victor.lowther@gmail.com> | 2008-03-09 14:49:50 -0500 |
commit | 47cc4095aa3a310b829a9b274d5de0f7e6af7326 (patch) | |
tree | dd7947db798a152ef7e6a6d781e1b77b789debf8 /pm | |
parent | cab059db8842ffcae4b34af9805e34f3ae4f41d3 (diff) |
Ensure wwe have made $STORAGEDIR before trying to blacklist hooks.
Diffstat (limited to 'pm')
-rw-r--r-- | 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. |