summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/community/moblock/moblock.install
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra-testing/community/moblock/moblock.install')
-rw-r--r--abs/extra-testing/community/moblock/moblock.install12
1 files changed, 8 insertions, 4 deletions
diff --git a/abs/extra-testing/community/moblock/moblock.install b/abs/extra-testing/community/moblock/moblock.install
index 6afe1d5..c7715e7 100644
--- a/abs/extra-testing/community/moblock/moblock.install
+++ b/abs/extra-testing/community/moblock/moblock.install
@@ -7,6 +7,10 @@ post_install() {
echo ">>> moblock-update script no longer uses /var/spool/moblock"
echo ">>> as a temporary directory. You can safely delete it."
echo ""
+ if [ ! -d /var/spool/moblock/used ]
+ then
+ mkdir -p /var/spool/moblock/used
+ fi
}
post_upgrade() {
@@ -14,10 +18,10 @@ post_upgrade() {
if [ -h /usr/lib/libnfnetlink.so.1 ]; then
rm /usr/lib/libnfnetlink.so.1
fi
- echo ""
- echo ">>> moblock-update script no longer uses /var/spool/moblock"
- echo ">>> as a temporary directory. You can safely delete it."
- echo ""
+ if [ ! -d /var/spool/moblock/used ]
+ then
+ mkdir -p /var/spool/moblock/used
+ fi
}
op=$1