From 1be510f9529cb082f802408b472a77d074b394c0 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Sun, 14 Apr 2013 13:46:12 +0000 Subject: Add zarb MLs html archives --- zarb-ml/mageia-dev/2011-November/009844.html | 101 +++++++++++++++++++++++++++ 1 file changed, 101 insertions(+) create mode 100644 zarb-ml/mageia-dev/2011-November/009844.html (limited to 'zarb-ml/mageia-dev/2011-November/009844.html') diff --git a/zarb-ml/mageia-dev/2011-November/009844.html b/zarb-ml/mageia-dev/2011-November/009844.html new file mode 100644 index 000000000..9c1dbff30 --- /dev/null +++ b/zarb-ml/mageia-dev/2011-November/009844.html @@ -0,0 +1,101 @@ + + + + [Mageia-dev] non-working uninstall trigger + + + + + + + + + +

[Mageia-dev] non-working uninstall trigger

+ Anssi Hannula + anssi at mageia.org +
+ Sat Nov 26 15:09:47 CET 2011 +

+
+ +
On 26.11.2011 16:07, Guillaume Rousse wrote:
+> Hello list.
+> 
+> bash-completion now uses dynamic function loading, making symlinks from
+> /etc/bash_completion.d directory useless. I tried to reuse a
+> post-install cleanup procedure based on trigger, so as to be fired only
+> once during 1.2 -> 1.90 update:
+> 
+> triggerpostun scriptlet (using /bin/sh) -- bash-completion < 1.90
+> # drop dangling symlinks resulting from previous setup
+> find /etc/bash-completion.d -type l | xargs rm -f
+> 
+> For the record, I get my inspiration from this one, in the  setup package:
+> 
+> triggerpostun scriptlet (using /bin/sh) -- setup < 2.7.8
+> # the files is no more in setup starting from 2.7.8, it is now in nfs-utils
+> if [ -e /etc/exports.rpmsave ]; then
+>   mv -f /etc/exports.rpmsave /etc/exports && echo "warning:
+> /etc/exports.rpmsave restored as /etc/exports"
+> fi
+> 
+> However, it doesn't work... Is it a problem in my trigger specification,
+> or did anything change in rpm ?
+
+bash-completion < 2:1.90
+
+-- 
+Anssi Hannula
+
+ + + + + + + + + + + + + + + + + + + + +
+

+ +
+More information about the Mageia-dev +mailing list
+ -- cgit v1.2.1