update installer
This commit is contained in:
parent
a0f5f79957
commit
5c1af02b3c
|
@ -245,7 +245,7 @@ disk_clean(){
|
|||
do
|
||||
vgremove "$vg" --yes
|
||||
done
|
||||
pvremove "$DRIVE"2 || true
|
||||
pvremove "$DRIVE"2
|
||||
}
|
||||
#}}}
|
||||
# Partition Drive{{{
|
||||
|
@ -789,14 +789,20 @@ stow_dots() {
|
|||
# Update installer {{{
|
||||
update_installer(){
|
||||
echo "Updating installer..."
|
||||
|
||||
INSTALLER=$(mktemp)
|
||||
|
||||
wget -qO $INSTALLER $DOTFILES_URL/raw/master/arch_install
|
||||
|
||||
chmod +x $INSTALLER
|
||||
exec $INSTALLER updated $@ | tee arch_install.log
|
||||
}
|
||||
|
||||
[ "$1" == "updated" ] && shift || update_installer $@
|
||||
echo "Installer updated :D"
|
||||
|
||||
#}}}
|
||||
|
||||
set_pkgs
|
||||
if [ ! "$USER" == "root" ];then
|
||||
user_setup
|
||||
|
|
Reference in New Issue