]> git.donarmstrong.com Git - lilypond.git/blobdiff - debian/postinst
release: 1.0.19.uu3
[lilypond.git] / debian / postinst
index e7f9906b71d4461822bace6a0a90f83f88e42dfd..7f781eb29597aaa95708fbf7cd89ccd7239dfa21 100755 (executable)
@@ -4,7 +4,7 @@
 #
 #   by Anthony Fok <foka@debian.org>
 #   Initial release:  Sun, 26 Oct 1997 03:23:00 -0700
-#     Last modified:  Wed, 22 Apr 1998 03:14:10 -0600
+#     Last modified:  Wed, 11 Nov 1998 22:59:49 -0700
 
 set -e
 
@@ -21,6 +21,13 @@ echo " Running /usr/bin/mktexlsr ..."
 
 #DEBHELPER#
 
+# If we are the last package to use the old /usr/lib/texmf/doc,
+# we will create the symlink to /usr/doc/texmf.  :-)
+if rmdir /usr/lib/texmf/doc >/dev/null 2>&1
+then
+    ln -s /usr/doc/texmf /usr/lib/texmf/doc
+fi
+
 echo
 echo " $pkg_name configuration completed."
 echo " Please read /usr/doc/$package/README.Debian to get started."