2
0
forked from Wavyzz/dolibarr

Prepare 3.1.0

This commit is contained in:
Laurent Destailleur
2011-07-19 17:14:07 +00:00
parent 944c694d73
commit 4fc598f51b
2 changed files with 2 additions and 4 deletions

View File

@@ -2,7 +2,6 @@ dolibarr (3.1.0-1) unstable; urgency=low
[ Laurent Destailleur ]
* New upstream release.
closes: bug#634783
-- Laurent Destailleur <eldy@destailleur.fr> Mon, 18 Jul 2011 12:00:00 +0100

View File

@@ -39,8 +39,8 @@ case "$1" in
superuserpassword=''
if [ -f /etc/mysql/debian.cnf ] ; then
# Load superuser login and pass
superuserlogin=$(grep --max-count=1 "user" /etc/mysql/debian.cnf | /bin/sed -e 's/^user[ =]*//g')
superuserpassword=$(grep --max-count=1 "password" /etc/mysql/debian.cnf | /bin/sed -e 's/^password[ =]*//g')
superuserlogin=$(/bin/grep --max-count=1 "user" /etc/mysql/debian.cnf | /bin/sed -e 's/^user[ =]*//g')
superuserpassword=$(/bin/grep --max-count=1 "password" /etc/mysql/debian.cnf | /bin/sed -e 's/^password[ =]*//g')
fi
echo Mysql superuser found to use is $superuserlogin
if [ -z "$superuserlogin" ] ; then
@@ -101,7 +101,6 @@ case "$1" in
# not have the same user/group.
#
chown -R $webuser:$webgroup /usr/share/dolibarr
chown -R root:$webgroup /usr/share/dolibarr/htdocs/conf/conf.php
# Add link to config file
echo Setup web server $server to add dolibarr config file