diff --git a/debian/changelog b/debian/changelog index d678d0a703a..785d0a1e475 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -dolibarr (0.6.0-1) unstable; urgency=low +dolibarr (0.7.0-1) unstable; urgency=low * initial version diff --git a/debian/control b/debian/control index a8aa3f10e51..dfa043479a9 100644 --- a/debian/control +++ b/debian/control @@ -8,11 +8,9 @@ Standards-Version: 3.5.8 Package: dolibarr Section: web Architecture: all -Depends: apache, wwwconfig-common (>= 0.0.7), php4, php4-mysql, php4-curl, php4-pear | libapache-mod-auth-mysql, debconf, perl +Depends: apache, wwwconfig-common (>= 0.0.7), php4, php4-cgi, php4-mysql, php4-curl, php4-pear | libapache-mod-auth-mysql, debconf, perl Description: Company account management software. Dolibarr is a small and simple Web interface with ERP and CRM capabilities. It is designed for small companies and freelancers, and can be used to deal with the bills and documentation required for company management. - - diff --git a/debian/dolibarr.postinst b/debian/dolibarr.postinst index 515bd0d82bb..afd82fe2dcc 100644 --- a/debian/dolibarr.postinst +++ b/debian/dolibarr.postinst @@ -32,10 +32,15 @@ case "$1" in *) webservers="" ;; esac . /usr/share/wwwconfig-common/php.get - . /usr/share/wwwconfig-common/apache-run.get # Set up web server. for server in $webservers ; do - trustuser=$wwwuser + . /usr/share/wwwconfig-common/apache-run.get + trustuser=$webuser + # + # That may lead to problems if apache & apache-ssl do + # not have the same user/group. + # + chown -R $webuser.$webgroup /usr/share/dolibarr includefile="/etc/dolibarr/apache.conf" . /usr/share/wwwconfig-common/apache-include_all.sh test "$status" = "uncomment" -o "$status" = "include" && restart="$server $restart" @@ -45,8 +50,6 @@ case "$1" in done done - chown -R www-data.www-data /usr/share/dolibarr - # # Pear # @@ -105,6 +108,7 @@ case "$1" in servers="apache-ssl apache mysql" . /usr/share/wwwconfig-common/restart.sh + echo "Visit http://localhost/dolibarr/install.php to complete the installation" ;; abort-upgrade|abort-remove|abort-deconfigure)