diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2009-01-12 19:04:24 -0500 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2009-01-12 19:04:24 -0500 |
commit | 6d785d6401799bf929316cb070471601798de4c0 (patch) | |
tree | 9cddd8e1b4a0fb5a7fb48cefb9048b3e4160d0fc /debian/preinst | |
parent | 5b1f7f293dc5fed596f4745398b9c774b725a73b (diff) |
Add auto-blog.setup
It will set up an ikiwiki instance tuned for use in blogging.
As part of this change, move the example sites into /usr/share/ikiwiki so
they are available even if docs are not installed.
Diffstat (limited to 'debian/preinst')
-rwxr-xr-x | debian/preinst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/debian/preinst b/debian/preinst index c588901df..4158b2ae6 100755 --- a/debian/preinst +++ b/debian/preinst @@ -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 |