update installer

This commit is contained in:
lelgenio 2019-12-26 11:44:48 -03:00
parent a0f5f79957
commit 5c1af02b3c
1 changed files with 7 additions and 1 deletions

View File

@ -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