Pārlūkot izejas kodu

Update grub at the end of mesh install

Bob Mottram 8 gadus atpakaļ
vecāks
revīzija
e610ebbcda
1 mainītis faili ar 3 papildinājumiem un 0 dzēšanām
  1. 3
    0
      src/freedombone-image-mesh

+ 3
- 0
src/freedombone-image-mesh Parādīt failu

632
             rm /usr/share/images/desktop-base/desktop-background
632
             rm /usr/share/images/desktop-base/desktop-background
633
             ln -s /usr/share/images/desktop-base/${PROJECT_NAME}_mesh_background.png /usr/share/images/desktop-base/desktop-background
633
             ln -s /usr/share/images/desktop-base/${PROJECT_NAME}_mesh_background.png /usr/share/images/desktop-base/desktop-background
634
         fi
634
         fi
635
+        if [ -f /etc/default/grub ]; then
636
+            update-grub
637
+        fi
635
         systemctl reboot -i
638
         systemctl reboot -i
636
     fi
639
     fi
637
 fi
640
 fi