From 21d51449d43c0cf43ac76dc839a98012838cb156 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Fri, 4 Aug 2017 16:21:03 +0200 Subject: Add -f option to system_install --- system_install | 3 +++ 1 file changed, 3 insertions(+) diff --git a/system_install b/system_install index bf93b15..69dbac7 100755 --- a/system_install +++ b/system_install @@ -12,6 +12,9 @@ git submodule update --init || (echo "Submodule update failed!"; exit 5) # Source inst and diff function . ./utils/inst +# Load if we force changes (implies no interaction) +[ "$1" = "-f" ] && FORCE=true || FORCE=false + ################################################################################# if [ -e /etc/arch-release ]; then -- cgit v1.2.3