[Glibc-bsd-commits] r2894 - trunk/freebsd-utils/debian

Aurelien Jarno aurel32 at alioth.debian.org
Wed Dec 9 11:07:23 UTC 2009


Author: aurel32
Date: 2009-12-09 11:07:21 +0000 (Wed, 09 Dec 2009)
New Revision: 2894

Modified:
   trunk/freebsd-utils/debian/changelog
   trunk/freebsd-utils/debian/freebsd-utils.init
Log:
  * freebsd-utils.init: fix quoting, and use a symbolic links instead
    of an hardlink (closes: #560125).



Modified: trunk/freebsd-utils/debian/changelog
===================================================================
--- trunk/freebsd-utils/debian/changelog	2009-12-09 01:23:17 UTC (rev 2893)
+++ trunk/freebsd-utils/debian/changelog	2009-12-09 11:07:21 UTC (rev 2894)
@@ -1,3 +1,10 @@
+freebsd-utils (8.0-2) UNSTABLE; urgency=low
+
+  * freebsd-utils.init: fix quoting, and use a symbolic links instead
+    of an hardlink (closes: #560125).
+
+ -- Aurelien Jarno <aurel32 at debian.org>  Wed, 09 Dec 2009 12:06:20 +0100
+
 freebsd-utils (8.0-1) unstable; urgency=low
 
   [ Petr Salinger ]

Modified: trunk/freebsd-utils/debian/freebsd-utils.init
===================================================================
--- trunk/freebsd-utils/debian/freebsd-utils.init	2009-12-09 01:23:17 UTC (rev 2893)
+++ trunk/freebsd-utils/debian/freebsd-utils.init	2009-12-09 11:07:21 UTC (rev 2894)
@@ -85,10 +85,10 @@
     
     echo "done."
    
-    if [ $(readlink /etc/mtab) != "/proc/mounts" ] ; then
+    if [ "$(readlink /etc/mtab)" != "/proc/mounts" ] ; then
       echo "Warning: replacing /etc/mtab by a symlink to /proc/mounts."
       rm -f /etc/mtab
-      ln -f /proc/mounts /etc/mtab
+      ln -sf /proc/mounts /etc/mtab
     fi
 
     # Mount /dev/fd, /proc and /sys




More information about the Glibc-bsd-commits mailing list