1
0
mirror of https://github.com/gophernicus/gophernicus.git synced 2024-06-09 06:20:43 +00:00

gophermap -> gophermap.sample debian

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

2
debian/postinst vendored
View File

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

2
debian/rules vendored
View File

@ -43,7 +43,7 @@ install: build
rm -rf $(DEST)/tmp
ln -s /usr/share/doc/gophernicus/ $(DEST)/var/gopher/docs
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/
# Build architecture-independent files here.