X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/37221453e2b1757aa970f4837a3f5a8041f07227..e0406eadd387f2a1dc56c8034504bc5d127dae28:/debian/preinst?ds=sidebyside diff --git a/debian/preinst b/debian/preinst index 12d3d83af..4158b2ae6 100755 --- a/debian/preinst +++ b/debian/preinst @@ -1,5 +1,5 @@ #!/bin/sh - +set -e #DEBHELPER# if [ "$1" = upgrade ] && dpkg --compare-versions "$2" lt 1.2; then @@ -14,3 +14,7 @@ if [ "$1" = upgrade ] && dpkg --compare-versions "$2" lt 1.2; then fi fi fi +if [ "$1" = upgrade ] && dpkg --compare-versions "$2" lt 3.02; then + # replaced by symlink + rm -rf /usr/share/doc/ikiwiki/examples +fi