[Pkg-jed-commit] r926 - jed-extra/trunk/debian

Rafael Laboissiere rafael at alioth.debian.org
Fri Oct 12 06:53:00 UTC 2007


Author: rafael
Date: 2007-10-12 06:53:00 +0000 (Fri, 12 Oct 2007)
New Revision: 926

Modified:
   jed-extra/trunk/debian/compile
Log:
Oops, remove ini.sl* and libfuns.txt files *_only_* at package removal


Modified: jed-extra/trunk/debian/compile
===================================================================
--- jed-extra/trunk/debian/compile	2007-10-12 06:43:22 UTC (rev 925)
+++ jed-extra/trunk/debian/compile	2007-10-12 06:53:00 UTC (rev 926)
@@ -7,8 +7,8 @@
   install|remove)
         # Remove the files in both cases, because some .sl files may have
         # gone and some .slc files may not work with the new jed version
-	find $LIBDIR \( -name \*.slc -o -name \*.dfa ini.sl\* libfuns.txt\) \
-            -print0 | xargs -0 --no-run-if-empty rm
+	find $LIBDIR \( -name \*.slc -o -name \*.dfa \) -print0 \
+        | xargs -0 --no-run-if-empty rm
 
         case "$1" in
           install)
@@ -16,6 +16,9 @@
 		# don't worry if jed-script is missing, because jed runs this
 		# script again at installation
                 ;;
+          remove)
+		find $LIBDIR \( -name ini.sl\* -o -name libfuns.txt \) \
+			 -print0 | xargs -0 --no-run-if-empty rm
         esac
 	;;
   *)




More information about the Pkg-jed-commit mailing list