Skip to content
Snippets Groups Projects
Commit 37983529 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Add creation of dir for documents

parent 8db6a103
No related branches found
No related tags found
No related merge requests found
......@@ -49,6 +49,12 @@ case "$1" in
cat $fileorig | sed -e 's/__SUPERUSERLOGIN__/'$superuserlogin'/g' | sed -e 's/__SUPERUSERPASSWORD__/'$superuserpassword'/g' > $config
fi
# Create /var/lib/dolibarr/documents
mkdir -p /var/lib/dolibarr/documents
chown -R www-data.www-data /var/lib/dolibarr/documents;
chmod -R 775 /var/lib/dolibarr/documents;
chmod -R g+s /var/lib/dolibarr/documents;
# Create empty conf.php
if [ ! -f /usr/share/dolibarr/htdocs/conf/conf.php ]
then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment