From 62164e82581ee31097d33bbe9a6da16039b7204f Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sat, 21 Apr 2012 01:06:33 -0500 Subject: Fix HTML doc install directories on Debian and Ubuntu --- debian/lenny/applications/knutclient/debian/changelog | 2 +- debian/lenny/applications/knutclient/debian/preinst | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'debian/lenny/applications/knutclient') diff --git a/debian/lenny/applications/knutclient/debian/changelog b/debian/lenny/applications/knutclient/debian/changelog index 5788cd153..e63f05435 100644 --- a/debian/lenny/applications/knutclient/debian/changelog +++ b/debian/lenny/applications/knutclient/debian/changelog @@ -214,7 +214,7 @@ knutclient (0.7.2-pre2-1) unstable; urgency=low * New upstream release * admin/debianrules has been updated to fix KDE doc path problems (thanks to Ben Burton) (closes: Bug#210962) - * debian/preinst: add script for cleaning /usr/share/doc/HTML/*/knutclient/ + * debian/preinst: add script for cleaning /usr/share/doc/tde/HTML/*/knutclient/ on upgrading from previous release * debian/control: add Homepage to Description * debian/control: change maintainer address to the good debian's one diff --git a/debian/lenny/applications/knutclient/debian/preinst b/debian/lenny/applications/knutclient/debian/preinst index 7cf5218d6..17d2ead82 100644 --- a/debian/lenny/applications/knutclient/debian/preinst +++ b/debian/lenny/applications/knutclient/debian/preinst @@ -20,13 +20,13 @@ case "$1" in # cleanup remaining doc from release prior to 0.7.2 if dpkg --compare-versions "$2" lt "0.7.2" ; then # first pass for files - for i in `find /usr/share/doc/HTML/*/knutclient/ -type f` + for i in `find /usr/share/doc/tde/HTML/*/knutclient/ -type f` do rm -f $i done # second pass for directories and empty parents - for i in `find /usr/share/doc/HTML/*/knutclient/ -type d` + for i in `find /usr/share/doc/tde/HTML/*/knutclient/ -type d` do rmdir --ignore-fail-on-non-empty --parents $i done -- cgit v1.2.1