Fixed install bug

This commit is contained in:
vinceliuice
2018-05-22 19:05:27 +08:00
parent ba9aacf104
commit e693282da6
3 changed files with 17 additions and 12 deletions

View File

@ -12,14 +12,12 @@ if [ "$UID" -eq "$ROOT_UID" ]; then
echo "GRUB_THEME=\"/boot/grub/themes/StylishDark/theme.txt\"" >> /etc/default/grub
# update grub
update-grub
grub-mkconfig -o /boot/grub/grub.cfg
echo -e "/n All done!"
notify-send "All done!" -i face-smile
echo -e "\n All done!"
else
echo -e "/n Please run this script by root..."
notify-send "Please run this script by root..." -i notification
echo -e "\n Please run this script by root..."
fi