From: Enrico Scholz Date: Thu, 26 Feb 2004 13:05:20 +0000 (+0000) Subject: s!/vservers!$DEFAULT_VSERVERDIR! (reported in IRC by broo) X-Git-Tag: VERSION_0_10~560 X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=16fd74a4eed3682bb7d7391cb3d74c537013e572;p=util-vserver.git s!/vservers!$DEFAULT_VSERVERDIR! (reported in IRC by broo) git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@1006 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- diff --git a/util-vserver/scripts/functions b/util-vserver/scripts/functions index 01f146f..4002642 100644 --- a/util-vserver/scripts/functions +++ b/util-vserver/scripts/functions @@ -102,7 +102,7 @@ function _pkgSetVarsBase } VDIR=$BASEDIR/vdir - test -d "$VDIR" || VDIR=/vservers/$vserver + test -d "$VDIR" || VDIR=$DEFAULT_VSERVERDIR/$vserver VDIR=$(getPhysicalDir "$VDIR") PKGDIR=$BASEDIR/apps/pkgmgmt