[debian-lan-devel] [SCM] Debian-LAN development and packaging branch, squeeze, updated. 0.7squeeze-5-g1aa40d2
Andreas B. Mundt
andi at debian.org
Sat Jan 26 16:18:23 UTC 2013
The following commit has been merged in the squeeze branch:
commit 1aa40d2211b49610e852ebf67da059e620f05e7a
Author: Andreas B. Mundt <andi at debian.org>
Date: Sat Jan 26 17:09:40 2013 +0100
Run grub-install only when installing.
(cherry picked from commit f21d0825779c2781b2984d0f04da1920a43cf327)
diff --git a/fai/config/scripts/GRUB_PC/10-setup b/fai/config/scripts/GRUB_PC/10-setup
index 33161d9..915f518 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|1))" ERR
+## 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