]> git.pld-linux.org Git - packages/util-vserver.git/blob - util-vserver-rpmpath.patch
- rediff patches
[packages/util-vserver.git] / util-vserver-rpmpath.patch
1 diff -urNp -x '*.orig' util-vserver-0.30.216-pre3126.org/scripts/vrpm-preload util-vserver-0.30.216-pre3126/scripts/vrpm-preload
2 --- util-vserver-0.30.216-pre3126.org/scripts/vrpm-preload      2016-02-24 19:09:17.000000000 +0100
3 +++ util-vserver-0.30.216-pre3126/scripts/vrpm-preload  2021-03-12 21:50:28.704399123 +0100
4 @@ -26,7 +26,7 @@ test -e "$UTIL_VSERVER_VARS" || {
5  . "$UTIL_VSERVER_VARS"
6  . "$_LIB_FUNCTIONS"
7  
8 -for bin in `which rpm` /bin/rpm /usr/lib/rpm/rpm${RPM_FLAVOR:-i} ""; do
9 +for bin in /bin/rpm /usr/lib/rpm/rpm${RPM_FLAVOR:-i} ""; do
10      ldd "$bin" &>/dev/null && break
11  done
12  
This page took 0.053245 seconds and 3 git commands to generate.