From cf32a913ff2562d782e1fa6489d175763153c3bb Mon Sep 17 00:00:00 2001 From: milisbir Date: Sat, 20 Jan 2018 23:41:45 +0200 Subject: [PATCH] grub-guncelle --- bin/grub-guncelle | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/grub-guncelle b/bin/grub-guncelle index 9d560baef..1a6a6cc89 100755 --- a/bin/grub-guncelle +++ b/bin/grub-guncelle @@ -2,4 +2,5 @@ if [ -f /boot/grub/grub.cfg ];then mv /boot/grub/grub.cfg /boot/grub/grub.cfg.eski fi +[ ! -f /boot/grub/grub.cfg.new ] && mv /etc/default/grub/grub.cfg /boot/grub/grub.cfg.new grub-mkconfig -o /boot/grub/grub.cfg