[pve-devel] r5242 - pve-kernel-2.6.32/trunk

svn-commits at proxmox.com svn-commits at proxmox.com
Fri Oct 8 12:34:28 CEST 2010


Author: dietmar
Date: 2010-10-08 10:34:28 +0000 (Fri, 08 Oct 2010)
New Revision: 5242

Modified:
   pve-kernel-2.6.32/trunk/postinst.in
Log:
revert previous change


Modified: pve-kernel-2.6.32/trunk/postinst.in
===================================================================
--- pve-kernel-2.6.32/trunk/postinst.in	2010-10-08 10:29:14 UTC (rev 5241)
+++ pve-kernel-2.6.32/trunk/postinst.in	2010-10-08 10:34:28 UTC (rev 5242)
@@ -5,6 +5,9 @@
 # Ignore all invocations except when called on to configure.
 exit 0 unless $ARGV[0] =~ /configure/;
 
+# do nothing if run from proxmox installer
+exit 0 if -e "/proxmox_install_mode";
+
 my $imagedir = "/boot";
 
 my $version = "@@KVNAME@@";
@@ -13,9 +16,6 @@
 
 system("update-initramfs -c -t -b $imagedir -k $version"); 
 
-# do not proceed if run from proxmox installer
-exit 0 if -e "/proxmox_install_mode";
-
 if (-x "/usr/sbin/grub") {
     system("update-grub -y");
 } elsif (-e "/etc/lilo.conf") {



More information about the pve-devel mailing list