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/009843.html | 100 +++++++++++++++++++++++++++ 1 file changed, 100 insertions(+) create mode 100644 zarb-ml/mageia-dev/2011-November/009843.html (limited to 'zarb-ml/mageia-dev/2011-November/009843.html') diff --git a/zarb-ml/mageia-dev/2011-November/009843.html b/zarb-ml/mageia-dev/2011-November/009843.html new file mode 100644 index 000000000..77aafba87 --- /dev/null +++ b/zarb-ml/mageia-dev/2011-November/009843.html @@ -0,0 +1,100 @@ + + + + [Mageia-dev] non-working uninstall trigger + + + + + + + + + +

[Mageia-dev] non-working uninstall trigger

+ Guillaume Rousse + guillomovitch at gmail.com +
+ Sat Nov 26 15:07:51 CET 2011 +

+
+ +
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 ?
+
+-- 
+BOFH excuse #218:
+
+The UPS doesn't have a battery backup.
+
+ + + + + + + + + + + + + + + + + + + + +
+

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