From 743df14a51ba9fdd990839a5fe6c6dae0f773979 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sat, 12 Aug 2017 16:27:50 +0200 Subject: no more default but example file --- debian/example.conf | 3 +++ debian/rules | 5 ----- debian/vanity.default | 3 --- debian/vanity.examples | 1 + 4 files changed, 4 insertions(+), 8 deletions(-) create mode 100644 debian/example.conf delete mode 100644 debian/vanity.default create mode 100644 debian/vanity.examples diff --git a/debian/example.conf b/debian/example.conf new file mode 100644 index 0000000..bf9ab8e --- /dev/null +++ b/debian/example.conf @@ -0,0 +1,3 @@ +VANITY_ADDR=127.0.0.1:9192 +VANITY_ROOT=https://example.com +VANITY_REPO_ROOT=https://git.example.com diff --git a/debian/rules b/debian/rules index 61ce866..a22cf69 100755 --- a/debian/rules +++ b/debian/rules @@ -6,9 +6,4 @@ export DH_GOPKG := github.com/xiam/vanity %: dh $@ --buildsystem=golang --with=golang --with=systemd -override_dh_auto_install: - dh_auto_install - install -d $$(pwd)/debian/vanity/etc/ - install -m 644 $$(pwd)/debian/vanity.conf $$(pwd)/debian/vanity/etc/ - override_dh_installinit: diff --git a/debian/vanity.default b/debian/vanity.default deleted file mode 100644 index ae10701..0000000 --- a/debian/vanity.default +++ /dev/null @@ -1,3 +0,0 @@ -VANITY_ADDR=127.0.0.1:9192 -VANITY_ROOT=https://spreadspace.org -VANITY_REPO_ROOT=https://git.spreadspace.org diff --git a/debian/vanity.examples b/debian/vanity.examples new file mode 100644 index 0000000..66299e9 --- /dev/null +++ b/debian/vanity.examples @@ -0,0 +1 @@ +debian/example.conf -- cgit v1.2.3