aboutsummaryrefslogtreecommitdiffstats
path: root/debian/preinst
diff options
context:
space:
mode:
Diffstat (limited to 'debian/preinst')
-rwxr-xr-x[-rw-r--r--]debian/preinst1
1 files changed, 1 insertions, 0 deletions
diff --git a/debian/preinst b/debian/preinst
index 0c06b42..6bcd718 100644..100755
--- a/debian/preinst
+++ b/debian/preinst
@@ -4,6 +4,7 @@ set -e
# Older versions of slib stored init files in a separate subdirectory;
# blow that away so that the symlink can be put in its place.
+
if [ "$1" = "upgrade" -a -d /usr/share/slib/init ]; then
rm -rf /usr/share/slib/init
fi