This repository was archived by the owner on Nov 25, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ Pydio is a web-based browser for managing files on a web server without FTP. Ful
22
22
it is the perfect tool to replace (drop)box and alikes in the enterprise.
23
23
24
24
%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
26
26
27
27
%setup -q -n %{ name} -core-%{ version}
28
28
@@ -89,7 +89,7 @@ rm -rf %{buildroot}
89
89
if [ -f "%{ _localstatedir} /cache/%{ name} /plugins_cache.ser" ]
90
90
then
91
91
# 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
93
93
rm -f %{ _localstatedir} /cache/%{ name} /i18n/*.ser
94
94
rm -f %{ _localstatedir} /cache/%{ name} /plugins_*.ser
95
95
if [ ! -f "%{ _localstatedir} /cache/%{ name} /first_run_passed" ]
You can’t perform that action at this time.
0 commit comments