aboutsummaryrefslogtreecommitdiff
path: root/system_install
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2017-08-04 16:21:03 +0200
committerKarel Kočí <cynerd@email.cz>2017-08-04 16:21:03 +0200
commit21d51449d43c0cf43ac76dc839a98012838cb156 (patch)
tree9c03c0cdcd0d95ef50ccfe3076844e417567cfb0 /system_install
parent0439d2707714e1b6879818dc76e15256617a335d (diff)
downloadmyconfigs-21d51449d43c0cf43ac76dc839a98012838cb156.tar.gz
myconfigs-21d51449d43c0cf43ac76dc839a98012838cb156.tar.bz2
myconfigs-21d51449d43c0cf43ac76dc839a98012838cb156.zip
Add -f option to system_install
Diffstat (limited to 'system_install')
-rwxr-xr-xsystem_install3
1 files changed, 3 insertions, 0 deletions
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