X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=scripts%2Fvrpm-preload;fp=scripts%2Fvrpm-preload;h=0000000000000000000000000000000000000000;hb=db5ef3f969fc6ad34aeb5903e44d0049b2e50791;hp=fe8dfa3e2fc8299ba0c51c4cebe3eca8e31d76da;hpb=95e2774070e989fe9cf9f48dae5fa054e55e2a3e;p=util-vserver.git diff --git a/scripts/vrpm-preload b/scripts/vrpm-preload deleted file mode 100755 index fe8dfa3..0000000 --- a/scripts/vrpm-preload +++ /dev/null @@ -1,37 +0,0 @@ -#! /bin/bash -# $Id: vrpm-preload 1825 2005-01-27 21:24:44Z ensc $ - -# Copyright (C) 2003 Enrico Scholz -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; version 2 of the License. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - -set -e - -: ${UTIL_VSERVER_VARS:=/usr/lib/util-vserver/util-vserver-vars} -test -e "$UTIL_VSERVER_VARS" || { - echo $"Can not find util-vserver installation (the file '$UTIL_VSERVER_VARS' would be expected); aborting..." >&2 - exit 1 -} -. "$UTIL_VSERVER_VARS" -. "$_LIB_FUNCTIONS" - -for bin in `which rpm` /bin/rpm /usr/lib/rpm/rpm${RPM_FLAVOR:-i} ""; do - ldd "$bin" &>/dev/null && break -done - -test -x "$bin" || - panic $"No dynamically linked rpm binary found; exiting..." - -rpmFake.init "$CUR_VSERVER" -rpmFake.exec "$bin" "$@"