]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- add -f (force) flag for nsplugin_install for migration triggers
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 6 Sep 2005 17:43:41 +0000 (17:43 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm.macros -> 1.236

rpm.macros

index d3e5bf609fd6d72cd11ff449a41bacc2aa5049c7..b4a15bc1323d7b96f7e5fd3cd3697c10a253cb11 100644 (file)
@@ -720,9 +720,9 @@ fi \
 
 # see browser-plugins.spec / template-browser-plugin.spec
 # written by glen@pld-linux.org.
-%nsplugin_install(d:) { \
+%nsplugin_install(d:f) { \
 # create link if it's first install of either of the packages \
-if [ "$1" = "1" ] && [ "$2" = "1" ] && [ -d %{-d*} ]; then \
+if [ -n "%{-f:1}" ] || ([ "$1" = "1" ] && [ "$2" = "1" ] && [ -d %{-d*} ]); then \
 ( \
 %( \
        for file in %{*}; do \
This page took 0.043078 seconds and 4 git commands to generate.