From 2875eb85814b28ec7d049f25db9e6efc7571b744 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Tue, 23 Aug 2005 18:44:00 +0000 Subject: [PATCH 1/1] - %nsplugin_install fix: check for target dir existence, if installing on alien base arch (i686 package on amd64) as the dependencies are basename based Changed files: rpm.macros -> 1.235 --- rpm.macros | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpm.macros b/rpm.macros index b0ebbcb..d3e5bf6 100644 --- a/rpm.macros +++ b/rpm.macros @@ -722,7 +722,7 @@ fi \ # written by glen@pld-linux.org. %nsplugin_install(d:) { \ # create link if it's first install of either of the packages \ -if [ "$1" = "1" ] && [ "$2" = "1" ]; then \ +if [ "$1" = "1" ] && [ "$2" = "1" ] && [ -d %{-d*} ]; then \ ( \ %( \ for file in %{*}; do \ -- 2.44.0