fi
#DEBHELPER#
if test ! -L /usr/share/citadel-webcit/static/; then
- ln -sf /usr/share/prototypejs/prototype.js /usr/share/citadel-webcit/static/
+ if test -d /usr/share/prototypejs; then
+ ln -sf /usr/share/prototypejs/prototype.js /usr/share/citadel-webcit/static/
+ else
+ ln -sf /usr/share/javascript/prototype/prototype.js /usr/share/citadel-webcit/static/
+ fi
fi
# update the webserver, if needed
case "$WWWTYPE" in
Package: citadel-webcit
Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, debconf, tinymce, citadel-common, openssl, locales, prototypejs
+Depends: ${shlibs:Depends}, ${misc:Depends}, debconf, tinymce, citadel-common, openssl, locales, libjs-prototype
Suggests: citadel-server, apache2 | apache, localepurge, gnome-icon-theme
Recommends: shared-mime-info
Description: web-based frontend to Citadel groupware server