mirror of
https://git.proxmox.com/git/grub2
synced 2025-08-12 06:21:39 +00:00
change sed expression /(fd[0-9]\+)/d to /^(fd[0-9]\+)/d
This commit is contained in:
parent
646ebc4047
commit
94a4f11d80
2
debian/grub-pc.postinst
vendored
2
debian/grub-pc.postinst
vendored
@ -14,7 +14,7 @@ case "$1" in
|
||||
|
||||
if [ ! -z "$2" ] && test -e /boot/grub/core.img ; then
|
||||
# If we're upgrading _and_ chainload-install is likely to have happened
|
||||
db_subst grub-pc/install_devices CHOICES `sed -e "/(fd[0-9]\+)/d;s,.*\t,,g" /boot/grub/device.map | tr '\n' ',' | sed -e 's/,$//g;s/,/, /g'`
|
||||
db_subst grub-pc/install_devices CHOICES `sed -e "/^(fd[0-9]\+)/d;s,.*\t,,g" /boot/grub/device.map | tr '\n' ',' | sed -e 's/,$//g;s/,/, /g'`
|
||||
db_input high grub-pc/install_devices || true
|
||||
db_go
|
||||
db_get grub-pc/install_devices
|
||||
|
Loading…
Reference in New Issue
Block a user