]> mj.ucw.cz Git - libucw.git/blobdiff - build/installer
Doc. system: fix deflist asciidoc formatting
[libucw.git] / build / installer
index b5bf16f20f9b699d18733b52193cbc4b7097e6a2..39e62e61be2d068d632482b9fb765f8eccf2ced1 100755 (executable)
@@ -26,7 +26,12 @@ for a in $SH_CONFIGS ; do
                        echo "cf/$a: no differences"
                else
                        echo -n "cf/$a differs, replace it [Yn]? "
-                       read x
+                       if [ -z "$SH_AUTO_CONFIRM" ] ; then
+                               read x
+                       else
+                               x="$SH_AUTO_CONFIRM"
+                               echo "$x"
+                       fi
                        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