From f6565dd0ea60db2fe2163e80294deeb5fd2fed8d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Tue, 6 Sep 2005 17:43:41 +0000 Subject: [PATCH] - add -f (force) flag for nsplugin_install for migration triggers Changed files: rpm.macros -> 1.236 --- rpm.macros | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rpm.macros b/rpm.macros index d3e5bf6..b4a15bc 100644 --- a/rpm.macros +++ b/rpm.macros @@ -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 \ -- 2.44.0