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:
parent
ec2d51a3d0
commit
dd91613279
2
debian/postinst
vendored
2
debian/postinst
vendored
@ -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
2
debian/rules
vendored
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user