projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d539d37
)
* check for links if they exist before trying to create them
author
Wilfried Göesgens
<willi@citadel.org>
Mon, 10 Mar 2008 19:06:14 +0000
(19:06 +0000)
committer
Wilfried Göesgens
<willi@citadel.org>
Mon, 10 Mar 2008 19:06:14 +0000
(19:06 +0000)
* don't abort if creating fails.
webcit/debian/citadel-webcit.postinst
patch
|
blob
|
history
diff --git
a/webcit/debian/citadel-webcit.postinst
b/webcit/debian/citadel-webcit.postinst
index 1a53cf8a0ce1a566abd7c1984edcc15a08fa30cb..844ae0aab6d7a530bc52d8f10da3fbe872e81cb2 100644
(file)
--- 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