From 00f9434027b87125053cee457953bf75c402ade5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Wilfried=20G=C3=B6esgens?= Date: Mon, 10 Mar 2008 19:06:14 +0000 Subject: [PATCH] * check for links if they exist before trying to create them * don't abort if creating fails. --- webcit/debian/citadel-webcit.postinst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.39.2