[debian-lan-devel] [SCM] Debian-LAN development and packaging branch, master, updated. 0.7-13-gf21d082

Andreas B. Mundt andi at debian.org
Sat Jan 26 16:18:21 UTC 2013


The following commit has been merged in the master branch:
commit f21d0825779c2781b2984d0f04da1920a43cf327
Author: Andreas B. Mundt <andi at debian.org>
Date:   Sat Jan 26 17:09:40 2013 +0100

    Run grub-install only when installing.

diff --git a/fai/config/scripts/GRUB_PC/10-setup b/fai/config/scripts/GRUB_PC/10-setup
index f69fc71..86e62d4 100755
--- a/fai/config/scripts/GRUB_PC/10-setup
+++ b/fai/config/scripts/GRUB_PC/10-setup
@@ -3,6 +3,11 @@
 
 error=0; trap 'error=$(($?>$error?$?:$error))' ERR # save maximum error code
 
+## Skip if not installing:
+if [ "$FAI_ACTION" != "install" ] ; then
+    exit 0
+fi
+
 set -a
 
 # during softupdate use this file

-- 
Debian-LAN development and packaging



More information about the debian-lan-devel mailing list