]> git.pld-linux.org Git - packages/rpm-build-macros.git/commitdiff
- %nsplugin_install fix: check for target dir existence, if installing on alien base... auto/ac/rpm-4_4_2-2
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 23 Aug 2005 18:44:00 +0000 (18:44 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm.macros -> 1.235

rpm.macros

index b0ebbcb2c3b2e6c5d4cb7cf4c5081c465dad513d..d3e5bf609fd6d72cd11ff449a41bacc2aa5049c7 100644 (file)
@@ -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 \
This page took 0.041025 seconds and 4 git commands to generate.