update installer

This commit is contained in:
lelgenio 2019-12-26 11:52:33 -03:00
parent 8e47d2c9aa
commit a376966233
1 changed files with 2 additions and 3 deletions

View File

@ -1,6 +1,6 @@
#!/bin/bash
#
set -ex
set -e
echo (){
/bin/echo "#########################################"
/bin/echo "$@"
@ -800,8 +800,7 @@ update_installer(){
wget -qO $INSTALLER $DOTFILES_URL/raw/master/arch_install
chmod +x $INSTALLER
$INSTALLER updated $@ | tee arch_install.log
exit
exec $INSTALLER updated $@ | tee arch_install.log
}
[ "$1" == "updated" ] && shift || update_installer $@