From: Wilfried Göesgens Date: Mon, 10 Mar 2008 19:06:14 +0000 (+0000) Subject: * check for links if they exist before trying to create them X-Git-Tag: v7.86~2434 X-Git-Url: https://code.citadel.org/?a=commitdiff_plain;h=00f9434027b87125053cee457953bf75c402ade5;p=citadel.git * check for links if they exist before trying to create them * don't abort if creating fails. --- diff --git a/webcit/debian/citadel-webcit.postinst b/webcit/debian/citadel-webcit.postinst index 1a53cf8a0..844ae0aab 100644 --- a/webcit/debian/citadel-webcit.postinst +++ b/webcit/debian/citadel-webcit.postinst @@ -17,7 +17,9 @@ case "$1" in db_get citadel/WebcitApacheIntegration &&WWWTYPE="$RET" db_stop # Hack: make webcit use gnome icons. roll your own if wanted. - ln -s /usr/share/icons/gnome/24x24/mimetypes /usr/share/citadel-webcit/static/icons + if test ! -L /usr/share/citadel-webcit/static/icons; then + ln -sf /usr/share/icons/gnome/24x24/mimetypes /usr/share/citadel-webcit/static/icons || true + fi #DEBHELPER# # update the webserver, if needed