From bc14d1e1383901531445163f08942e6eab9b6f69 Mon Sep 17 00:00:00 2001 From: mandlm Date: Fri, 8 Jan 2016 11:25:46 +0100 Subject: [PATCH] Set file mode bits and explicit target dirs when installing --- mopidy-switcher/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mopidy-switcher/Makefile b/mopidy-switcher/Makefile index ef75de1..5b86802 100644 --- a/mopidy-switcher/Makefile +++ b/mopidy-switcher/Makefile @@ -4,13 +4,13 @@ SYSV_DIR=/etc/init.d SYSD_DIR=/etc/systemd/system install-sysv: service/mopidy-switcher - install service/mopidy-switcher $(SYSV_DIR) + install -m 755 -t $(SYSV_DIR) service/mopidy-switcher install-sysd: service/mopidy-switcher.service - install service/mopidy-switcher.service $(SYSD_DIR) + install -m 644 -t $(SYSD_DIR) service/mopidy-switcher.service install-switcher: mopidy-switcher.py - install -D mopidy-switcher.py $(BIN_DIR) + install -m 755 -t $(BIN_DIR) -D mopidy-switcher.py install: install-sysd install-switcher