]> code.citadel.org Git - citadel.git/blobdiff - webcit/debian/citadel-webcit.postinst
* use the debian prototypejs package
[citadel.git] / webcit / debian / citadel-webcit.postinst
index eb80f3a851fe95d1a4f7c355be4956d17315362c..63d6bf9abeb1d43bfb8830f95ca08c69d9fbb8a9 100644 (file)
@@ -16,9 +16,14 @@ case "$1" in
 
        db_get citadel/WebcitApacheIntegration &&WWWTYPE="$RET"
        db_stop
-
+# Hack: make webcit use gnome icons. roll your own if wanted.
+       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#
-       
+       if test ! -L /usr/share/citadel-webcit/static/; then
+           ln -sf /usr/share/prototypejs/prototype.js /usr/share/citadel-webcit/static/        
+       fi
 # update the webserver, if needed
        case "$WWWTYPE" in
            "Apache")