git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@1870
94cd875c-1c1d-0410-91d2-
eb244daf1a30
createAptFileSys
+test -z "$_APT_GET" || {
+ warning $"The environment variable \$_APT_GET is not supported anymore; please use \$APT_GET instead of"
+ ${APT_GET:=$_APT_GET}
+}
+
exec ${_APT_GET:-apt-get} \
-o "RPM::RootDir=$VDIR" \
-o "Dir=$VDIR" \
pkgInit "$vserver" rpm yum
rpmFake.init "$vserver"
+test -z "$_YUM" || {
+ warning $"The environment variable \$_YUM is not supported anymore; please use \$YUM instead of"
+ ${YUM:=$_YUM}
+}
+
yum=${YUM:-yum}
case $(yum --version) in
(2.[0123]*) conf=yum-hack.conf;;