Missing dependency, rely on wwwconfig to find web user
This commit is contained in:
parent
1d1936c38d
commit
88800081c0
2
debian/changelog
vendored
2
debian/changelog
vendored
@ -1,4 +1,4 @@
|
||||
dolibarr (0.6.0-1) unstable; urgency=low
|
||||
dolibarr (0.7.0-1) unstable; urgency=low
|
||||
|
||||
* initial version
|
||||
|
||||
|
||||
4
debian/control
vendored
4
debian/control
vendored
@ -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.
|
||||
|
||||
|
||||
|
||||
12
debian/dolibarr.postinst
vendored
12
debian/dolibarr.postinst
vendored
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user