update installer
This commit is contained in:
parent
8e47d2c9aa
commit
a376966233
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#
|
#
|
||||||
set -ex
|
set -e
|
||||||
echo (){
|
echo (){
|
||||||
/bin/echo "#########################################"
|
/bin/echo "#########################################"
|
||||||
/bin/echo "$@"
|
/bin/echo "$@"
|
||||||
|
@ -800,8 +800,7 @@ update_installer(){
|
||||||
wget -qO $INSTALLER $DOTFILES_URL/raw/master/arch_install
|
wget -qO $INSTALLER $DOTFILES_URL/raw/master/arch_install
|
||||||
|
|
||||||
chmod +x $INSTALLER
|
chmod +x $INSTALLER
|
||||||
$INSTALLER updated $@ | tee arch_install.log
|
exec $INSTALLER updated $@ | tee arch_install.log
|
||||||
exit
|
|
||||||
}
|
}
|
||||||
|
|
||||||
[ "$1" == "updated" ] && shift || update_installer $@
|
[ "$1" == "updated" ] && shift || update_installer $@
|
||||||
|
|
Reference in a new issue