fixing #8: alternc.install -- add just a '/'

This commit is contained in:
Benjamin Sonntag 2015-09-25 17:53:55 +02:00
parent d3ab589e56
commit c0d656774e
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ INSTALLED_CONFIG_TAR="/var/lib/alternc/backups/etc-installed.tar.gz"
if [ -f "$INSTALLED_CONFIG_TAR" ]; then
CHANGED="`env LANG=C tar -zdf "$INSTALLED_CONFIG_TAR" -C / 2> /dev/null |
grep -v 'postfix/main.cf' | grep -v 'Uid differs'|grep -v 'Gid differs' |grep -v 'Mode differs' |
sed -e 's/^\([^:]*\).*/ \1/' | sort -u`"
sed -e 's#^\([^:]*\).*# /\1#' | sort -u`"
if [ ! -z "$CHANGED" ]; then
echo "The following configuration files has changed since last AlternC"
echo "installation :"