thomas: server install-kolab.sh,1.11,1.12

cvs at kolab.org cvs at kolab.org
Fri Oct 19 18:48:37 CEST 2007


Author: thomas

Update of /kolabrepository/server
In directory doto:/tmp/cvs-serv20265

Modified Files:
	install-kolab.sh 
Log Message:
Allow upgrades using binary packages


Index: install-kolab.sh
===================================================================
RCS file: /kolabrepository/server/install-kolab.sh,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- install-kolab.sh	19 Oct 2007 08:42:18 -0000	1.11
+++ install-kolab.sh	19 Oct 2007 16:48:34 -0000	1.12
@@ -288,7 +288,8 @@
 		-Dkolab-webadmin::kolab_version=$KOLAB_VERSION
 		"
 	fi
-	"$PREFIX/bin/openpkg" build -kK -r "$DIR" -p "$PLATTAG" $DEFINE $PACKAGES | sh || exit $?
+	find "$DIR" -mindepth 1 -maxdepth 1 -name "*.$PLATTAG.rpm" -exec ln -sf '{}' "$PREFIX/RPM/PKG/" \;
+	"$PREFIX/bin/openpkg" build -kKBuZ -r "$DIR" -p "$PLATTAG" $DEFINE $PACKAGES | sh || exit $?
 fi
 
 exit 0





More information about the commits mailing list