]> git.pld-linux.org Git - packages/util-vserver.git/commitdiff
- need to search for rpm binary it is present
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 7 Nov 2007 10:27:07 +0000 (10:27 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    util-vserver-rpmpath.patch -> 1.1

util-vserver-rpmpath.patch [new file with mode: 0644]

diff --git a/util-vserver-rpmpath.patch b/util-vserver-rpmpath.patch
new file mode 100644 (file)
index 0000000..100abc5
--- /dev/null
@@ -0,0 +1,11 @@
+--- util-vserver-0.30.212/scripts/vrpm-preload~        2007-11-07 12:24:38.000000000 +0200
++++ util-vserver-0.30.212/scripts/vrpm-preload 2007-11-07 12:25:09.260798172 +0200
+@@ -27,7 +27,7 @@
+ . $__PKGLIBDIR/vserver.functions
+ . "$_LIB_FUNCTIONS"
+-for bin in `which rpm` /bin/rpm /usr/lib/rpm/rpm${RPM_FLAVOR:-i} ""; do
++for bin in /bin/rpm /usr/lib/rpm/rpm${RPM_FLAVOR:-i} ""; do
+     ldd "$bin" &>/dev/null && break
+ done
This page took 0.036257 seconds and 4 git commands to generate.