[SCM] Debian packaging of context) branch, master, updated. debian/2013.05.28.20130704-1-2-gfd5b434
The following commit has been merged in the master branch:
commit fd5b43438bfc5908bc1188754365fa0d028380f0
Author: Norbert Preining <preining@debian.org>
Date: Wed Jul 17 14:28:18 2013 +0900
fix postinst logic, remove more dirs, release
diff --git a/debian/changelog b/debian/changelog
index 4ccd28b..dd6d9e8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,8 @@
-context (2013.05.28.20130704-2) UNRELEASED; urgency=low
+context (2013.05.28.20130704-2) unstable; urgency=low
- * (hopefully) fixing the missing docfiles bug (Closes: #716892)
+ * fix the missing docfiles bug on upgrade from wheezy (Closes: #716892)
- -- Norbert Preining <preining@debian.org> Wed, 17 Jul 2013 13:41:11 +0900
+ -- Norbert Preining <preining@debian.org> Wed, 17 Jul 2013 14:59:11 +0900
context (2013.05.28.20130704-1) unstable; urgency=low
diff --git a/debian/context.postinst b/debian/context.postinst
index f85d91e..4ab5d42 100755
--- a/debian/context.postinst
+++ b/debian/context.postinst
@@ -47,9 +47,28 @@ case "$1" in
if [ -f "$misplacedf" ] ; then
mkdir -p `dirname "$f"`
mv "$misplacedf" "$f"
- rmdir --ignore-fail-on-non-empty `dirname "$misplacedf"`
fi
done
+ # try to remove all the directories that have been there
+ for i in /usr/share/doc/texmf/context/scripts/mkiv/ \
+ /usr/share/doc/texmf/context/scripts/mkii/ \
+ /usr/share/doc/texmf/context/scripts/ \
+ /usr/share/doc/texmf/context/third/gnuplot/ \
+ /usr/share/doc/texmf/context/third/ \
+ /usr/share/doc/texmf/context/document/general/manuals/ \
+ /usr/share/doc/texmf/context/document/general/ \
+ /usr/share/doc/texmf/context/document/ \
+ /usr/share/doc/texmf/context/manuals/allkind/ \
+ /usr/share/doc/texmf/context/manuals/ \
+ /usr/share/doc/texmf/context/ \
+ /usr/share/doc/texmf/man/man1/ \
+ /usr/share/doc/texmf/man/ \
+ /usr/share/doc/texmf/ ; do
+ if [ -d $i ] ; then
+ rmdir --ignore-fail-on-non-empty $i
+ fi
+ done
+ rm /var/lib/tex-common/context-inverse-update-stamp
fi
#
if dhit_libkpathsea_configured; then
--
Debian packaging of context)
Reply to: