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")
Package: citadel-webcit
Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, debconf, tinymce, citadel-common, openssl, locales
+Depends: ${shlibs:Depends}, ${misc:Depends}, debconf, tinymce, citadel-common, openssl, locales, prototypejs
Suggests: citadel-server, apache2 | apache, localepurge, gnome-icon-theme
Recommends: shared-mime-info
Description: web-based frontend to Citadel groupware server
dh_clean -k
dh_installdirs
$(MAKE) install-bin install-locale install-wwwdata DESTDIR=$(DESTDIR)
+ rm $(DESTDIR)/usr/share/citadel-webcit/static/prototype.js
# mkdir -p $(DESTDIR)/etc/citadel; cp webcit.conf $(DESTDIR)/etc/citadel/