install_nanodesk: nanodesk name in grub menu
This commit is contained in:
parent
e6ca94674e
commit
1b592412b4
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue