diff options
author | Florian Bruhin | 2016-11-26 11:40:00 +0100 |
---|---|---|
committer | Florian Bruhin | 2016-11-26 11:40:24 +0100 |
commit | 359fa6413afe146c40bb04b4502e20b7c6bf1ec6 (patch) | |
tree | b5f59da84fd49f19a94895759eea3bd6ae8d0cb9 /agendav.install | |
parent | 2e7a456f358f23be4058eaecc7d562f1f335a9b6 (diff) | |
download | aur-359fa6413afe146c40bb04b4502e20b7c6bf1ec6.tar.gz |
Update to 2.0.0
Diffstat (limited to 'agendav.install')
-rw-r--r-- | agendav.install | 20 |
1 files changed, 4 insertions, 16 deletions
diff --git a/agendav.install b/agendav.install index 051af4e228c0..b94ae0c952bc 100644 --- a/agendav.install +++ b/agendav.install @@ -1,20 +1,8 @@ post_install() { - echo "Check http://wiki.archlinux.org/index.php/AgenDAV for details." + echo "Check http://docs.agendav.org/en/stable/admin/installation/ for details." } -pre_upgrade() { - ## Fix mess caused by the old package which had the symlinks the wrong way - ## around, so the user's config doesn't get lost... - for f in config.php caldav.php database.php; do - if [[ -h "/etc/webapps/agendav/$f" ]]; then - echo - echo "==> Fixing broken $f symlink from old package..." - # remove symlink first - echo "rm /etc/webapps/agendav/$f" - rm "/etc/webapps/agendav/$f" - # now move the real file (with the user's config) to /etc - echo "mv /usr/share/webapps/agendav/web/config/$f /etc/webapps/agendav" - mv "/usr/share/webapps/agendav/web/config/$f" /etc/webapps/agendav - fi - done +post_update() { + echo "Check http://docs.agendav.org/en/stable/admin/upgrading/ for details." + echo "The agendavcli script is located in /usr/share/webapps/agendav/" } |