From fd4c7d2dd302cd64cec57c74536d4dbcada2941d Mon Sep 17 00:00:00 2001 From: Harald Pfeiffer Date: Sun, 23 Mar 2025 07:41:16 +0100 Subject: Rename repo to packages.lirion.de, move aptly stuff to aptly subfolder --- aptly/Makefile | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 aptly/Makefile (limited to 'aptly/Makefile') diff --git a/aptly/Makefile b/aptly/Makefile new file mode 100644 index 0000000..bd29cbb --- /dev/null +++ b/aptly/Makefile @@ -0,0 +1,21 @@ +all: + + +install: copy-etc copy-bin + + +copy-etc: mkdir-etc + @if [ ! -e /etc/aptly-lirionde/aptly.conf ]; then \ + install -vpm0644 -oroot -groot -t /etc/lirion/aptly.conf ./etc/aptly-lirionde.conf; \ + else printf '/etc/lirion/aptly.conf existing, skipping.\n'; \ + fi + +mkdir-etc: + @install -dvm0755 -oroot -groot /etc/lirion + + +copy-bin: + @install -vpm0755 -oroot -groot -t /usr/bin bin/aptly-lirionde + + +.PHONY: mkdir-etc copy-etc copy-bin -- cgit v1.2.3