mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-29 03:13:40 +01: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" ]
|
||||
then
|
||||
/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
|
||||
# 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
|
||||
|
@ -1,5 +1,5 @@
|
||||
Name: egroupware-epl
|
||||
Version: 17.1.20171023
|
||||
Version: 17.1.20171115
|
||||
Release:
|
||||
Summary: EGroupware is a web-based groupware suite written in php
|
||||
Group: Web/Database
|
||||
@ -199,6 +199,8 @@ Obsoletes: %{name}-developer_tools
|
||||
%endif
|
||||
/bin/date >> %{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}"
|
||||
|
||||
%description
|
||||
|
Loading…
Reference in New Issue
Block a user