* use the debian prototypejs package
[citadel.git] / webcit / debian / citadel-webcit.postinst
index 844ae0aab6d7a530bc52d8f10da3fbe872e81cb2..63d6bf9abeb1d43bfb8830f95ca08c69d9fbb8a9 100644 (file)
@@ -21,7 +21,9 @@ case "$1" in
            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")