1
0
mirror of https://github.com/gophernicus/gophernicus.git synced 2024-11-03 04:27:17 -05:00

gophermap -> gophermap.sample debian

This commit is contained in:
fosslinux 2019-10-27 08:34:11 +11:00
parent ec2d51a3d0
commit dd91613279
2 changed files with 2 additions and 2 deletions

2
debian/postinst vendored
View File

@ -24,7 +24,7 @@ fi
# Configure gophernicus # Configure gophernicus
if [ "$1" = "configure" ]; then if [ "$1" = "configure" ]; then
if [ ! -f "$ROOT/gophermap" ]; then if [ ! -f "$ROOT/gophermap" ]; then
cp $LIBDIR/gophermap $ROOT/ cp $LIBDIR/gophermap.sample $ROOT/gophermap
fi fi
chown $USER.adm $LOGDIR chown $USER.adm $LOGDIR

2
debian/rules vendored
View File

@ -43,7 +43,7 @@ install: build
rm -rf $(DEST)/tmp rm -rf $(DEST)/tmp
ln -s /usr/share/doc/gophernicus/ $(DEST)/var/gopher/docs ln -s /usr/share/doc/gophernicus/ $(DEST)/var/gopher/docs
ln -s /usr/bin/php5 $(DEST)/usr/lib/gophernicus/filters/php ln -s /usr/bin/php5 $(DEST)/usr/lib/gophernicus/filters/php
cp $(CURDIR)/gophermap $(DEST)/usr/lib/gophernicus/ cp $(CURDIR)/gophermap.sample $(DEST)/usr/lib/gophernicus/gophermap
cp $(CURDIR)/gophernicus.socket $(CURDIR)/gophernicus@.service $(DEST)/lib/systemd/system/ cp $(CURDIR)/gophernicus.socket $(CURDIR)/gophernicus@.service $(DEST)/lib/systemd/system/
# Build architecture-independent files here. # Build architecture-independent files here.