Skip to content
This repository was archived by the owner on Nov 25, 2020. It is now read-only.

Commit 26c1979

Browse files
committed
Update pydio.spec.tpl
1 parent 8adc490 commit 26c1979

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

dist/rpm/pydio.spec.tpl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Pydio is a web-based browser for managing files on a web server without FTP. Ful
2222
it is the perfect tool to replace (drop)box and alikes in the enterprise.
2323

2424
%prep
25-
[ -f %{buildroot}%{pydiodir}/.htaccess ] && cp -pf %{buildroot}%{pydiodir}/.htaccess %{buildroot}%{_tmppath}/pydio.update.htaccess
25+
2626

2727
%setup -q -n %{name}-core-%{version}
2828

@@ -77,6 +77,7 @@ rm -rf %{buildroot}
7777
%{_sysconfdir}/%{name}/.htaccess
7878
%config(noreplace) %{_sysconfdir}/%{name}/*
7979
%config(noreplace) %{_sysconfdir}/httpd/conf.d/%{name}*.conf
80+
%config(noreplace) %{pydiodir}/.htaccess
8081
%attr(755,apache,apache) %{_localstatedir}/lib/%{name}
8182
%dir %attr(755,apache,apache) %{_localstatedir}/cache/%{name}
8283
%{_localstatedir}/cache/%{name}/.htaccess
@@ -89,7 +90,7 @@ rm -rf %{buildroot}
8990
if [ -f "%{_localstatedir}/cache/%{name}/plugins_cache.ser" ]
9091
then
9192
# Upgrading an existing install
92-
[ -f %{buildroot}%{_tmppath}/pydio.update.htaccess ] && cp -pf %{buildroot}%{_tmppath}/pydio.update.htaccess %{buildroot}%{pydiodir}/.htaccess
93+
# [ -f %{buildroot}%{_tmppath}/pydio.update.htaccess ] && cp -pf %{buildroot}%{_tmppath}/pydio.update.htaccess %{buildroot}%{pydiodir}/.htaccess
9394
rm -f %{_localstatedir}/cache/%{name}/i18n/*.ser
9495
rm -f %{_localstatedir}/cache/%{name}/plugins_*.ser
9596
if [ ! -f "%{_localstatedir}/cache/%{name}/first_run_passed" ]

0 commit comments

Comments
 (0)