Work on rpm package
This commit is contained in:
parent
d72f0fec45
commit
7923ee671c
@ -57,6 +57,9 @@ config="/etc/dolibarr/conf.php"
|
|||||||
case "$1" in
|
case "$1" in
|
||||||
configure)
|
configure)
|
||||||
|
|
||||||
|
# Remove lock file
|
||||||
|
rm -f $docdir/install.lock
|
||||||
|
|
||||||
# Create document directory for uploaded data files
|
# Create document directory for uploaded data files
|
||||||
mkdir -p $docdir
|
mkdir -p $docdir
|
||||||
chown -R www-data:www-data $docdir
|
chown -R www-data:www-data $docdir
|
||||||
|
|||||||
@ -183,6 +183,8 @@ if [ -d %{_sysconfdir}/apache2/conf.d -a `grep ^www-data /etc/passwd | wc -l` -g
|
|||||||
fi
|
fi
|
||||||
echo OS detected: $os
|
echo OS detected: $os
|
||||||
|
|
||||||
|
# Remove lock file
|
||||||
|
%{__rm} -f $docdir/install.lock
|
||||||
|
|
||||||
# Create empty directory for uploaded files and generated documents
|
# Create empty directory for uploaded files and generated documents
|
||||||
echo Create document directory $docdir
|
echo Create document directory $docdir
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user