[arch-commits] Commit in grub2/repos/extra-i686 (grub2.install)

Ronald van Haren ronald at archlinux.org
Tue Mar 16 14:49:50 UTC 2010


    Date: Tuesday, March 16, 2010 @ 10:49:50
  Author: ronald
Revision: 72463

fix merge error

Modified:
  grub2/repos/extra-i686/grub2.install

---------------+
 grub2.install |    6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

Modified: grub2.install
===================================================================
--- grub2.install	2010-03-16 14:49:00 UTC (rev 72462)
+++ grub2.install	2010-03-16 14:49:50 UTC (rev 72463)
@@ -1,8 +1,9 @@
 post_install() {
+if [ ! -f /boot/grub/grub.cfg ]; then
  echo -n "Generating grub.cfg config file... "
  grub-mkconfig -o /boot/grub/grub.cfg 2> /dev/null
  echo "done."
-
+fi
 cat << EOF 
  Please verify the config file installed in /boot/grub/grub.cfg
  For more information and additional config settings please see http://wiki.archlinux.org/index.php/GRUB2
@@ -14,7 +15,4 @@
 
 }
 
-post_upgrade() {
-        post_install
-}
 




More information about the arch-commits mailing list