mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-10-05 17:42:18 +02:00
fix ownership of files created during update, to fix addressbook pictures inaccessible after 17.1 update
This commit is contained in:
parent
ddfe924a62
commit
f66ee58eba
@ -31,6 +31,8 @@ then
|
|||||||
if [ "$2" ]
|
if [ "$2" ]
|
||||||
then
|
then
|
||||||
/usr/share/egroupware/doc/rpm-build/post_install.php 2>&1 | /usr/bin/tee -a $install_log
|
/usr/share/egroupware/doc/rpm-build/post_install.php 2>&1 | /usr/bin/tee -a $install_log
|
||||||
|
# fix ownership of files created during update
|
||||||
|
chown -R www-data /var/lib/egroupware
|
||||||
else
|
else
|
||||||
# Debian 9 has no more /etc/lsb-release and gives an error
|
# Debian 9 has no more /etc/lsb-release and gives an error
|
||||||
if test -f /etc/lsb-release && grep -q '^DISTRIB_ID="*Univention"*$' /etc/lsb-release
|
if test -f /etc/lsb-release && grep -q '^DISTRIB_ID="*Univention"*$' /etc/lsb-release
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
Name: egroupware-epl
|
Name: egroupware-epl
|
||||||
Version: 17.1.20171023
|
Version: 17.1.20171115
|
||||||
Release:
|
Release:
|
||||||
Summary: EGroupware is a web-based groupware suite written in php
|
Summary: EGroupware is a web-based groupware suite written in php
|
||||||
Group: Web/Database
|
Group: Web/Database
|
||||||
@ -199,6 +199,8 @@ Obsoletes: %{name}-developer_tools
|
|||||||
%endif
|
%endif
|
||||||
/bin/date >> %{install_log}
|
/bin/date >> %{install_log}
|
||||||
%{post_install} 2>&1 | tee -a %{install_log}
|
%{post_install} 2>&1 | tee -a %{install_log}
|
||||||
|
# fix ownership of files created during update
|
||||||
|
/bin/chown -R %{apache_user} /var/lib/egroupware
|
||||||
echo "EGroupware install log saved to %{install_log}"
|
echo "EGroupware install log saved to %{install_log}"
|
||||||
|
|
||||||
%description
|
%description
|
||||||
|
Loading…
Reference in New Issue
Block a user