Add a missing bit to d1a9c8a

This commit is contained in:
zador-blood-stained
2018-05-24 22:33:16 +03:00
parent d1a9c8a768
commit a407e988c8

View File

@@ -48,6 +48,16 @@ if [[ $EUID != 0 ]]; then
exit $?
fi
# Script parameters handling
for i in "$@"; do
if [[ $i == *=* ]]; then
parameter=${i%%=*}
value=${i##*=}
display_alert "Command line: setting $parameter to" "${value:-(empty)}" "info"
eval $parameter=$value
fi
done
if [[ ! -f $SRC/.ignore_changes ]]; then
echo -e "[\e[0;32m o.k. \x1B[0m] This script will try to update"
git pull