diff -u xtux-0.2.030306/debian/xtux-client.postrm xtux-0.2.030306/debian/xtux-client.postrm --- xtux-0.2.030306/debian/xtux-client.postrm +++ xtux-0.2.030306/debian/xtux-client.postrm @@ -2,7 +2,12 @@ set -e -rmdir /etc/ggz/clients /etc/ggz >/dev/null 2>&1 +for dir in /etc/ggz/clients /etc/ggz; do + if [ -d $dir ]; then + rmdir --ignore-fail-on-non-empty $dir; + fi; +done + # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. diff -u xtux-0.2.030306/debian/changelog xtux-0.2.030306/debian/changelog --- xtux-0.2.030306/debian/changelog +++ xtux-0.2.030306/debian/changelog @@ -1,3 +1,9 @@ +xtux (0.2.030306-11ubuntu1) karmic; urgency=low + + * xtux-client.postrm: don't fail to remove directories which don't exist or are not empty (LP: #454115) + + -- Chris Johnston (http://chrisjohnston.org) Wed, 11 Nov 2009 23:17:06 -0500 + xtux (0.2.030306-11) unstable; urgency=low [ Barry deFreese ]