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

Commit 8529c64

Browse files
committed
Use linux htaccess in RPM as well
1 parent b7cc07c commit 8529c64

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

dist/deb-pydio/debian/pydio.postinst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ then
3636

3737
fi
3838

39-
if [ ! -f $BIN_DIR/.htaccess ]
39+
if [ ! -f "$BIN_DIR/.htaccess" ]
4040
then
4141
# Install linux specific htaccess
4242
cp $BIN_DIR/plugins/boot.conf/htaccess.tpl.linux $BIN_DIR/.htaccess

dist/rpm/pydio.spec.tpl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ rm -rf %{buildroot}
4545
install -d %{buildroot}%{pydiodir}
4646
cp -pr . %{buildroot}%{pydiodir}
4747

48+
# correct htaccess
49+
cp -p ./plugins/boot.conf/htaccess.tpl.linux %{buildroot}%{pydiodir}/.htaccess
50+
4851
# apache conf
4952
mkdir -p %{buildroot}%{_sysconfdir}/httpd/conf.d
5053
cp -pr %SOURCE1 %{buildroot}%{_sysconfdir}/httpd/conf.d/%{name}.conf

0 commit comments

Comments
 (0)