diff options
Diffstat (limited to 'movim.install')
-rw-r--r-- | movim.install | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/movim.install b/movim.install index c93df776c2d2..c3be29662cfc 100644 --- a/movim.install +++ b/movim.install @@ -1,4 +1,4 @@ -pre_remove() { +pre_upgrade() { if [ -d /usr/share/webapps/movim ] && [ ! -L /usr/share/webapps/movim/cache ]; then echo 'The "cache" and "users" folders in /usr/share/webapps/movim are' echo 'being moved to /var/cache/webapps/movim.' @@ -24,5 +24,9 @@ post_install() { } post_upgrade() { + # XXX: Waiting for upstream to fix https://github.com/movim/movim/issues/509 + ln -s /var/cache/webapps/movim/cache /usr/share/webapps/movim + ln -s /var/cache/webapps/movim/users /usr/share/webapps/movim + post_install $1 } |