[Debian-tex-commits] SVN tex-common commit + diffs: r3340 - tex-common/trunk/debian
Frank Küster
frank at alioth.debian.org
Sat Apr 19 15:11:19 UTC 2008
Author: frank
Date: 2008-04-19 15:11:19 +0000 (Sat, 19 Apr 2008)
New Revision: 3340
Modified:
tex-common/trunk/debian/prerm
Log:
only remove empty /usr/local/share/texmf when called with "remove"
Modified: tex-common/trunk/debian/prerm
===================================================================
--- tex-common/trunk/debian/prerm 2008-04-19 09:03:08 UTC (rev 3339)
+++ tex-common/trunk/debian/prerm 2008-04-19 15:11:19 UTC (rev 3340)
@@ -5,4 +5,8 @@
# remove dirs in /usr/local if empty
-rmdir /usr/local/share/texmf 2>/dev/null || true
+case $1 in
+ remove)
+ rmdir /usr/local/share/texmf 2>/dev/null || true
+ ;;
+esac
More information about the Debian-tex-commits
mailing list