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

Commit 05c6998

Browse files
committed
Update pydio.spec.tpl
1 parent 9d10244 commit 05c6998

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dist/rpm/pydio.spec.tpl

Lines changed: 2 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 /tmp/pydio.update.htaccess
25+
[ -f %{buildroot}%{pydiodir}/.htaccess ] && cp -pf %{buildroot}%{pydiodir}/.htaccess %{buildroot}%{_tmpdir}/pydio.update.htaccess
2626

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

@@ -89,7 +89,7 @@ rm -rf %{buildroot}
8989
if [ -f "%{_localstatedir}/cache/%{name}/plugins_cache.ser" ]
9090
then
9191
# Upgrading an existing install
92-
[ -f /tmp/pydio.update.htaccess ] && cp -pf /tmp/pydio.update.htaccess %{buildroot}%{pydiodir}/.htaccess
92+
[ -f /tmp/pydio.update.htaccess ] && cp -pf %{buildroot}%{_tmpdir}/pydio.update.htaccess %{buildroot}%{pydiodir}/.htaccess
9393
rm -f %{_localstatedir}/cache/%{name}/i18n/*.ser
9494
rm -f %{_localstatedir}/cache/%{name}/plugins_*.ser
9595
if [ ! -f "%{_localstatedir}/cache/%{name}/first_run_passed" ]

0 commit comments

Comments
 (0)