From 450479dfe521f48535fb40bad0e7ee528b68bd36 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Wilfried=20G=C3=B6esgens?= Date: Mon, 14 Apr 2008 14:57:49 +0000 Subject: [PATCH] * use the debian prototypejs package --- webcit/debian/citadel-webcit.postinst | 4 +++- webcit/debian/control | 2 +- webcit/debian/rules | 1 + 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/webcit/debian/citadel-webcit.postinst b/webcit/debian/citadel-webcit.postinst index 844ae0aab..63d6bf9ab 100644 --- a/webcit/debian/citadel-webcit.postinst +++ b/webcit/debian/citadel-webcit.postinst @@ -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") diff --git a/webcit/debian/control b/webcit/debian/control index 5ea99c2f9..2cd42d627 100644 --- a/webcit/debian/control +++ b/webcit/debian/control @@ -8,7 +8,7 @@ Standards-Version: 3.7.2 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 diff --git a/webcit/debian/rules b/webcit/debian/rules index 1e658c779..992fd5296 100755 --- a/webcit/debian/rules +++ b/webcit/debian/rules @@ -80,6 +80,7 @@ install: build 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/ -- 2.30.2