install_nanodesk: nanodesk name in grub menu

This commit is contained in:
Marcus 2023-05-01 14:26:08 +02:00
parent e6ca94674e
commit 1b592412b4

View file

@ -135,6 +135,9 @@ EOF
message "install kernel and grub"
$CHROOTCMD /bin/bash /tmp/reinstall_kernel.sh || error
message "modify /etc/default/grub"
$CHROOTCMD /usr/bin/sed -i 's/GRUB_DISTRIBUTOR=.*/GRUB_DISTRIBUTOR=\"nanodesk \`cat \/usr\/share\/nanodesk\/version\`\"/g' /etc/default/grub
message "grub-install $target"
$CHROOTCMD grub-install ${target::-1} || error