[Glibc-bsd-commits] r2724 - trunk/kfreebsd-7/debian

Aurelien Jarno aurel32 at alioth.debian.org
Thu Aug 20 21:19:58 UTC 2009


Author: aurel32
Date: 2009-08-20 21:19:58 +0000 (Thu, 20 Aug 2009)
New Revision: 2724

Modified:
   trunk/kfreebsd-7/debian/kfreebsd-image.postinst.in
   trunk/kfreebsd-7/debian/kfreebsd-image.postrm.in
   trunk/kfreebsd-7/debian/kfreebsd-image.preinst.in
   trunk/kfreebsd-7/debian/kfreebsd-image.prerm.in
Log:
Pretty the output message


Modified: trunk/kfreebsd-7/debian/kfreebsd-image.postinst.in
===================================================================
--- trunk/kfreebsd-7/debian/kfreebsd-image.postinst.in	2009-08-20 20:28:19 UTC (rev 2723)
+++ trunk/kfreebsd-7/debian/kfreebsd-image.postinst.in	2009-08-20 21:19:58 UTC (rev 2724)
@@ -54,7 +54,7 @@
         fi
     
         # Run postinst hook if defined
-        postinst_hook=$(sed '/^\s*postinst_hook/!d;s/.*=//g' $KERNEL_IMG_CONF 2>/dev/null || true)
+        postinst_hook=$(sed '/^\s*postinst_hook/!d;s/.*=\s*//' $KERNEL_IMG_CONF 2>/dev/null || true)
         if [ -n "$postinst_hook" ] ; then
             echo "Running postinst hook script $postinst_hook." 1>&2 
             $postinst_hook "$VERSION" "/boot/kfreebsd-$RELEASE.gz"

Modified: trunk/kfreebsd-7/debian/kfreebsd-image.postrm.in
===================================================================
--- trunk/kfreebsd-7/debian/kfreebsd-image.postrm.in	2009-08-20 20:28:19 UTC (rev 2723)
+++ trunk/kfreebsd-7/debian/kfreebsd-image.postrm.in	2009-08-20 21:19:58 UTC (rev 2724)
@@ -26,7 +26,7 @@
 case "$1" in
     remove)
         # Run postrm hook if defined
-        postrm_hook=$(sed '/^\s*postrm_hook/!d;s/.*=//g' $KERNEL_IMG_CONF 2>/dev/null || true)
+        postrm_hook=$(sed '/^\s*postrm_hook/!d;s/.*=\s*//' $KERNEL_IMG_CONF 2>/dev/null || true)
         if [ -n "$postrm_hook" ] ; then
             echo "Running postrm hook script $postrm_hook." 1>&2 
             $postrm_hook "$VERSION" "/boot/kfreebsd-$RELEASE.gz"

Modified: trunk/kfreebsd-7/debian/kfreebsd-image.preinst.in
===================================================================
--- trunk/kfreebsd-7/debian/kfreebsd-image.preinst.in	2009-08-20 20:28:19 UTC (rev 2723)
+++ trunk/kfreebsd-7/debian/kfreebsd-image.preinst.in	2009-08-20 21:19:58 UTC (rev 2724)
@@ -21,7 +21,7 @@
 case "$1" in
     install|upgrade)
         # Run preinst hook if defined
-        preinst_hook=$(sed '/^\s*preinst_hook/!d;s/.*=//g' $KERNEL_IMG_CONF 2>/dev/null || true)
+        preinst_hook=$(sed '/^\s*preinst_hook/!d;s/.*=\s*//' $KERNEL_IMG_CONF 2>/dev/null || true)
         if [ -n "$preinst_hook" ] ; then
             echo "Running preinst hook script $preinst_hook." 1>&2 
             $preinst_hook "$VERSION" "/boot/kfreebsd-$RELEASE.gz"

Modified: trunk/kfreebsd-7/debian/kfreebsd-image.prerm.in
===================================================================
--- trunk/kfreebsd-7/debian/kfreebsd-image.prerm.in	2009-08-20 20:28:19 UTC (rev 2723)
+++ trunk/kfreebsd-7/debian/kfreebsd-image.prerm.in	2009-08-20 21:19:58 UTC (rev 2724)
@@ -24,7 +24,7 @@
 case "$1" in
     remove)
         # Run prerm hook if defined
-        prerm_hook=$(sed '/^\s*prerm_hook/!d;s/.*=//g' $KERNEL_IMG_CONF 2>/dev/null || true)
+        prerm_hook=$(sed '/^\s*prerm_hook/!d;s/.*=\s*//g' $KERNEL_IMG_CONF 2>/dev/null || true)
         if [ -n "$prerm_hook" ] ; then
             echo "Running prerm hook script $prerm_hook." 1>&2 
             $prerm_hook "$VERSION" "/boot/kfreebsd-$RELEASE.gz"




More information about the Glibc-bsd-commits mailing list