Debian preinst: remove intrepid.d symlink if it exists to allow clean unpacking
This commit is contained in:
8
debian/preinst
vendored
8
debian/preinst
vendored
@@ -23,5 +23,13 @@ if [ -d "/usr/lib/xen-tools/ubuntu.d" ]; then
|
||||
rm -r /usr/lib/xen-tools/ubuntu.d
|
||||
fi
|
||||
|
||||
#
|
||||
# 4.1 -> 4.2
|
||||
#
|
||||
|
||||
if [ -L "/usr/lib/xen-tools/intrepid.d" ]; then
|
||||
rm /usr/lib/xen-tools/intrepid.d
|
||||
fi
|
||||
|
||||
#DEBHELPER#
|
||||
exit 0
|
||||
|
||||
Reference in New Issue
Block a user