[SCM] Gnuplot. Interactive plotting program branch, master,	updated. debian/4.6.0-6-8-g738917f
    Anton Gladky 
    gladky.anton at gmail.com
       
    Sat May  5 14:33:08 UTC 2012
    
    
  
The following commit has been merged in the master branch:
commit 738917ffda094dd878b55e951137369288390648
Author: Agustin Martin Domingo <agmartin at debian.org>
Date:   Sat May 5 17:15:53 2012 +0200
    gnuplot.preinst: Remove /usr/share/doc/gnuplot only if is an obsolete symlink.
diff --git a/debian/gnuplot.preinst b/debian/gnuplot.preinst
index 4fc088b..881f3fe 100644
--- a/debian/gnuplot.preinst
+++ b/debian/gnuplot.preinst
@@ -2,7 +2,10 @@
 
 set -e
 
-rm -rf /usr/share/doc/gnuplot
+if [ -L "/usr/share/doc/gnuplot" ]; then
+    echo "Removing obsolete \"/usr/share/doc/gnuplot\" symlink" >&2
+    rm -f /usr/share/doc/gnuplot
+fi
 
 #DEBHELPER#
 
-- 
Gnuplot. Interactive plotting program
    
    
More information about the debian-science-commits
mailing list