summarylogtreecommitdiffstats
path: root/agendav.install
diff options
context:
space:
mode:
Diffstat (limited to 'agendav.install')
-rw-r--r--agendav.install20
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/"
}