diff options
author | Karel Kočí <cynerd@email.cz> | 2017-08-04 16:21:03 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2017-08-04 16:21:03 +0200 |
commit | 21d51449d43c0cf43ac76dc839a98012838cb156 (patch) | |
tree | 9c03c0cdcd0d95ef50ccfe3076844e417567cfb0 | |
parent | 0439d2707714e1b6879818dc76e15256617a335d (diff) | |
download | myconfigs-21d51449d43c0cf43ac76dc839a98012838cb156.tar.gz myconfigs-21d51449d43c0cf43ac76dc839a98012838cb156.tar.bz2 myconfigs-21d51449d43c0cf43ac76dc839a98012838cb156.zip |
Add -f option to system_install
-rwxr-xr-x | system_install | 3 |
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 |