- handle amd64 like archs which have lib64 dirs
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Fri, 6 Jan 2006 12:47:47 +0000 (12:47 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    mkzope3instance -> 1.2

mkzope3instance

index 75b73c4..fddbc39 100644 (file)
@@ -16,7 +16,9 @@ fi
 
 shift
 
-"$DESTDIR/usr/lib/zope3/bin/mkzopeinstance" -d "$instance_home" $@  || exit $?
+[ -d /lib64 -a -d /usr/lib64 ] && libdir="lib64" || libdir="lib"
+
+"$DESTDIR/usr/${libdir}/zope3/bin/mkzopeinstance" -d "$instance_home" $@  || exit $?
 mkdir -p "$DESTDIR/etc/zope3/$instance_name" "$DESTDIR/var/log/zope3/$instance_name"
 mv "$instance_home/etc"/* "$DESTDIR/etc/zope3/$instance_name"
 rmdir "$instance_home/etc"
This page took 0.041212 seconds and 4 git commands to generate.