SOURCES: vserver-distro-gentoo.patch (NEW) - add placehoders

glen glen at pld-linux.org
Sun Oct 9 00:50:01 CEST 2005


Author: glen                         Date: Sat Oct  8 22:50:01 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- add placehoders

---- Files affected:
SOURCES:
   vserver-distro-gentoo.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/vserver-distro-gentoo.patch
diff -u /dev/null SOURCES/vserver-distro-gentoo.patch:1.1
--- /dev/null	Sun Oct  9 00:50:01 2005
+++ SOURCES/vserver-distro-gentoo.patch	Sun Oct  9 00:49:56 2005
@@ -0,0 +1,27 @@
+--- ./tools/vserver-new~	2005-09-30 14:48:57.000000000 +0300
++++ ./tools/vserver-new	2005-10-09 01:05:54.000000000 +0300
+@@ -434,10 +434,10 @@
+ #------------------------------------------------------------------------------#
+ # Main app                                                                     #
+ #------------------------------------------------------------------------------#
+-if [ -r /sbin/functions.sh ]; then
+-	source /sbin/functions.sh
++if [ -r @distdir@/functions.sh ]; then
++	source @distdir@/functions.sh
+ else
+-	echo "/sbin/functions.sh missing. Are you running Gentoo?"
++	echo "@distdir@/functions.sh missing."
+ fi
+ 
+ usage() {
+--- ./tools/vserver-new~	2005-10-09 01:16:18.000000000 +0300
++++ ./tools/vserver-new	2005-10-09 01:24:57.000000000 +0300
+@@ -233,7 +233,7 @@
+ 	
+ 	mkdir usr/portage &>/dev/null || die "failed to create portdir"
+ 	
+-	local portdir="`portageq portdir`"
++	local portdir="@portagedir@"
+ 	
+ 	[ -z "${portdir}" ] && die "host has no portage tree!"
+ 	
================================================================



More information about the pld-cvs-commit mailing list