From 21f2254a0081f2ee093f7ada46107dd8488c5851 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antoine=20Beaupr=C3=A9?= Date: Mon, 14 Apr 2008 03:10:58 +0000 Subject: [PATCH] be more verbose in template expansion --- install/alternc.install | 3 +++ 1 file changed, 3 insertions(+) diff --git a/install/alternc.install b/install/alternc.install index 0a5d3c0e..e2603704 100644 --- a/install/alternc.install +++ b/install/alternc.install @@ -160,12 +160,15 @@ tar -zcf "$BACKUP_FILE" -C / $BACKUPS 2>/dev/null || true ####################################################################### # Expand templates in the right place # +echo -n "Expanding variables in configuration files:" for file in $CONFIG_FILES; do TEMPLATE="$TEMPLATE_DIR/${file##etc/}" + echo -n " $file" if [ -f "$TEMPLATE" ]; then sed -f "$SED_SCRIPT" < $TEMPLATE > /$file fi done +echo "." rm -f $SED_SCRIPT #######################################################################