shairport-sync: Add backup include file
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 11 Nov 2018 17:34:11 +0000 (17:34 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 11 Nov 2018 17:34:11 +0000 (17:34 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/backup/includes/shairport-sync [new file with mode: 0644]
config/rootfiles/packages/shairport-sync
lfs/shairport-sync

diff --git a/config/backup/includes/shairport-sync b/config/backup/includes/shairport-sync
new file mode 100644 (file)
index 0000000..dc92185
--- /dev/null
@@ -0,0 +1 @@
+etc/shairport-sync.conf
index 98c0366..d7c2e11 100644 (file)
@@ -2,3 +2,4 @@ etc/shairport-sync.conf
 #etc/shairport-sync.conf.sample
 usr/bin/shairport-sync
 #usr/share/man/man7/shairport-sync.7
+var/ipfire/backup/addons/includes/shairport-sync
index 2a1142c..60fe4da 100644 (file)
@@ -86,5 +86,10 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
                --with-ssl=openssl
        cd $(DIR_APP) && make $(MAKETUNING)
        cd $(DIR_APP) && make install
+
+       # Backup
+       install -v -m 644 $(DIR_SRC)/config/backup/includes/shairport-sync \
+               /var/ipfire/backup/addons/includes/shairport-sync
+
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)