[Debian-tex-commits] SVN tex-common commit + diffs: r5377 - tex-common/trunk/debian

Norbert Preining preining at alioth.debian.org
Wed Apr 11 00:02:22 UTC 2012


Author: preining
Date: 2012-04-11 00:02:20 +0000 (Wed, 11 Apr 2012)
New Revision: 5377

Modified:
   tex-common/trunk/debian/postinst
Log:
fix postinst


Modified: tex-common/trunk/debian/postinst
===================================================================
--- tex-common/trunk/debian/postinst	2012-04-10 23:55:24 UTC (rev 5376)
+++ tex-common/trunk/debian/postinst	2012-04-11 00:02:20 UTC (rev 5377)
@@ -121,7 +121,7 @@
     DONE_FULL_LSR=0
     DONE_MTXRUN=0
     # currently we only support only triggers for updmap.d and
-    # language.d changes
+    # hyphen.d changes
     # because all the other calls are quite fast 
     # - call all the update-* scripts (it doesn't hurt)
     # - go through all the triggers and call the respective fmtutil/updmap
@@ -532,7 +532,9 @@
     fi
 
     # remove out dated dir /etc/texmf/language.d
-    rmdir --ignore-fail-on-non-empty /etc/texmf/language.d/
+    if [ -d /etc/texmf/language.d ] ; then 
+        rmdir --ignore-fail-on-non-empty /etc/texmf/language.d/
+    fi
 
     ;;
   *)




More information about the Debian-tex-commits mailing list