From f4ab678b9a8b5c1d84c53d5e0e054868bfd31466 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Sat, 2 Jan 2010 14:00:33 +0000 Subject: [PATCH] added JQuery and PHP5 GD --- lam-packaging/debian/control | 4 ++-- lam-packaging/debian/postinst | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lam-packaging/debian/control b/lam-packaging/debian/control index c1f768ba..b4db531e 100644 --- a/lam-packaging/debian/control +++ b/lam-packaging/debian/control @@ -8,10 +8,10 @@ Homepage: http://www.ldap-account-manager.org/ Package: ldap-account-manager Architecture: all -Depends: php5 (>= 5.1), php5-ldap, apache2 | httpd, php-fpdf, debconf (>= 0.2.26) | debconf-2.0, ${misc:Depends} +Depends: php5 (>= 5.1), php5-ldap, php5-gd, apache2 | httpd, php-fpdf, libjs-jquery, debconf (>= 0.2.26) | debconf-2.0, ${misc:Depends} Suggests: ldap-server, php5-mcrypt, ldap-account-manager-lamdaemon, perl, libssh2-php Description: webfrontend for managing accounts in an LDAP directory - LDAP Account Manager (LAM) runs on an existing webserver.It manages user, group + LDAP Account Manager (LAM) runs on an existing webserver. It manages user, group and host accounts. Currently LAM supports these account types: Samba 3, Unix, Kolab 2, address book entries, NIS mail aliases and MAC addresses. There is a tree viewer included to diff --git a/lam-packaging/debian/postinst b/lam-packaging/debian/postinst index 1c4b5c99..d36150a1 100755 --- a/lam-packaging/debian/postinst +++ b/lam-packaging/debian/postinst @@ -35,6 +35,8 @@ for file in $files; do done if [ ! -h /usr/share/ldap-account-manager/lib/fpdf.php ]; then\ ln -s /usr/share/fpdf/fpdf.php /usr/share/ldap-account-manager/lib/fpdf.php; fi +if [ ! -h /usr/share/ldap-account-manager/templates/lib/jquery.js ]; then\ + ln -s /usr/share/javascript/jquery/jquery.js /usr/share/ldap-account-manager/templates/lib/jquery.js; fi if [ ! -h /usr/share/ldap-account-manager/config ]; then\ ln -s /var/lib/ldap-account-manager/config /usr/share/ldap-account-manager/config; fi if [ ! -h /usr/share/ldap-account-manager/sess ]; then\