grub: change variable substitution
This commit is contained in:
parent
dcc2d14078
commit
380a768d8d
|
@ -100,6 +100,6 @@ config() {
|
|||
fi
|
||||
lv=$(xbps-query linux|grep pkgver|awk '{print $2}')
|
||||
lv1="${lv//-/}"
|
||||
lv2="${lv1%_*}"
|
||||
lv2="${lv1%%_*}"
|
||||
xbps-reconfigure -f "${lv2}"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user