fix lsblk

This commit is contained in:
lelgenio 2019-12-26 13:47:22 -03:00
parent b01b51a0ec
commit 0e39df4a4f
1 changed files with 2 additions and 3 deletions

View File

@ -717,7 +717,7 @@ update_pkgfile() {
#}}}
# get_uuid() {#{{{
get_uuid() {
lsblk -no UUID "$1"
lsblk --noheadings --nodeps --output UUID "$1"
}
#}}}
# is_chroot(){{{{
@ -794,8 +794,7 @@ update_installer(){
wget -qO $INSTALLER $DOTFILES_URL/raw/master/arch_install
chmod +x $INSTALLER
$INSTALLER updated $@ | tee arch_install.log
exit 0
exec $INSTALLER updated $@
}
[ "$1" == "updated" ] && shift || is_chroot || update_installer $@