1
0
mirror of synced 2026-01-13 15:17:30 +00:00
steve b1f7b597de 2006-08-27 21:46:04 by steve
Don't complain about /etc/xen-tools/role.d
2006-08-27 21:46:04 +00:00

31 lines
646 B
Bash

#!/bin/sh
set -e
#
# Skip, if we are not in "configure" state
#
if [ "$1" != "configure" ]; then
echo "I: Skipping configuration"
exit 0
fi
#
# Handle obsolete directories.
#
if [ -d "/etc/xen-tools/xen-create-image.d" ]; then
rmdir "/etc/xen-tools/xen-create-image.d" 2>/dev/null ||
echo "The directory /etc/xen-tools/xen-create-image.d is no longer used. You can safely remove it."
fi
#
# 1.x -> 2.x
#
if [ -d "/etc/xen-tools/hook.d" ]; then
rmdir "/etc/xen-tools/hook.d" 2>/dev/null ||
echo "The directory /etc/xen-tools/hook.d is no longer used. You can safely remove it."
fi
#DEBHELPER#
exit 0