]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - debian/preinst
Implemented, please merge.
[git.ikiwiki.info.git] / debian / preinst
index 12d3d83afaa34d38faa9f9a8445080a52446c049..4158b2ae6636667d9b86583e7720cbe4153164b0 100755 (executable)
@@ -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