Revision: 7525
http://gar.svn.sourceforge.net/gar/?rev=7525&view=rev
Author: bonivart
Date: 2009-12-01 15:45:42 +0000 (Tue, 01 Dec 2009)
Log Message:
-----------
bind: fix chroot postinstall
Modified Paths:
--------------
csw/mgar/pkg/bind/trunk/files/CSWbindchroot.postinstall
Modified: csw/mgar/pkg/bind/trunk/files/CSWbindchroot.postinstall
===================================================================
--- csw/mgar/pkg/bind/trunk/files/CSWbindchroot.postinstall 2009-12-01
14:06:12 UTC (rev 7524)
+++ csw/mgar/pkg/bind/trunk/files/CSWbindchroot.postinstall 2009-12-01
15:45:42 UTC (rev 7525)
@@ -17,7 +17,7 @@
MAJOR=`echo $DEVICE | awk '{print $5}' | awk -F',' '{print $1}'`
MINOR=`echo $DEVICE | awk '{print $6}'`
echo "Creating device $i ($MAJOR,$MINOR)"
- mknod $ROOTDIR/dev/$i c $MAJOR $MINOR
+ [ ! -c $ROOTDIR/dev/$i ] && mknod $ROOTDIR/dev/$i c $MAJOR $MINOR
done
# Copy config from /etc/opt/csw
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
devel mailing list
[email protected]
https://lists.opencsw.org/mailman/listinfo/devel