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 +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,6 @@ install -d %{buildroot}%{pydiodir}
47
47
cp -pr . %{ buildroot} %{ pydiodir}
48
48
49
49
# correct htaccess
50
- # cp -p ./plugins/boot.conf/htaccess.tpl.linux %{ buildroot} %{ pydiodir} /.htaccess
51
50
52
51
# apache conf
53
52
mkdir -p %{ buildroot} %{ _sysconfdir} /httpd/conf.d
@@ -90,7 +89,6 @@ rm -rf %{buildroot}
90
89
if [ -f "%{ _localstatedir} /cache/%{ name} /plugins_cache.ser" ]
91
90
then
92
91
# Upgrading an existing install
93
- # [ -f %{ buildroot} %{ _tmppath} /pydio.update.htaccess ] && cp -pf %{ buildroot} %{ _tmppath} /pydio.update.htaccess %{ buildroot} %{ pydiodir} /.htaccess
94
92
rm -f %{ _localstatedir} /cache/%{ name} /i18n/*.ser
95
93
rm -f %{ _localstatedir} /cache/%{ name} /plugins_*.ser
96
94
if [ ! -f "%{ _localstatedir} /cache/%{ name} /first_run_passed" ]
@@ -99,7 +97,7 @@ touch %{_localstatedir}/cache/%{name}/first_run_passed
99
97
fi
100
98
else
101
99
# Brand new install
102
- [ -f %{ buildroot } % { pydiodir} /.htaccess ] && cp -p ./ plugins/boot.conf/htaccess.tpl.linux % { buildroot } %{ pydiodir} /.htaccess
100
+ cp -p %{ pydiodir} /plugins/boot.conf/htaccess.tpl.linux %{ pydiodir} /.htaccess
103
101
fi
104
102
105
103
You can’t perform that action at this time.
0 commit comments