From 46a34c7361afa8b4273f625d864c7f65b4704d59 Mon Sep 17 00:00:00 2001 From: Pavel Charvat Date: Tue, 4 Sep 2007 18:42:04 +0200 Subject: [PATCH] bugfix in the installer --- build/installer | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/installer b/build/installer index b06ca509..b5bf16f2 100755 --- a/build/installer +++ b/build/installer @@ -20,14 +20,14 @@ for a in $SH_CONFIGS ; do if [ ! -f $DEST/cf/$a ] ; then echo "cf/$a: new, installed" cp run/cf/$a $DEST/cf/$a - elif [ $a == catalog-rules ] ; then + elif [ $a = catalog-rules ] ; then echo "cf/$a: will be regenerated automatically" elif diff -u $DEST/cf/$a run/cf/$a ; then echo "cf/$a: no differences" else echo -n "cf/$a differs, replace it [Yn]? " read x - if [ -z "$x" -o "$x" == "y" -o "$x" == "Y" ] ; then + if [ -z "$x" -o "$x" = "y" -o "$x" = "Y" ] ; then echo "cf/$a: replacing and keeping the old version as cf/$a.old" mv $DEST/cf/$a $DEST/cf/$a.old cp run/cf/$a $DEST/cf/$a -- 2.39.2