* use the debian prototypejs package
authorWilfried Göesgens <willi@citadel.org>
Mon, 14 Apr 2008 14:57:49 +0000 (14:57 +0000)
committerWilfried Göesgens <willi@citadel.org>
Mon, 14 Apr 2008 14:57:49 +0000 (14:57 +0000)
webcit/debian/citadel-webcit.postinst
webcit/debian/control
webcit/debian/rules

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")
index 5ea99c2f92bbce8f49985af331fcb01d13f4adb8..2cd42d627fd679b60d7781268d379c1543169794 100644 (file)
@@ -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
index 1e658c779c39b0c7813d3d970696155be8cbf1f1..992fd5296718ed565c8c48dc4919fbaa3e248d6d 100755 (executable)
@@ -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/