fix lsblk
This commit is contained in:
parent
b01b51a0ec
commit
0e39df4a4f
|
@ -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 $@
|
||||
|
|
Reference in New Issue