From b6c28fd2b306aa22283412e6d3a868c34bd32783 Mon Sep 17 00:00:00 2001 From: abraunegg Date: Fri, 5 Aug 2022 05:42:53 +1000 Subject: [PATCH] Be consistent with permissions that are being assigned (#2075) * Update makefile to ensure permissions being assigned are consistent --- Makefile.in | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Makefile.in b/Makefile.in index 1d43d200..10cc4a2c 100644 --- a/Makefile.in +++ b/Makefile.in @@ -107,10 +107,10 @@ onedrive: $(SOURCES) install: all $(INSTALL) -D onedrive $(DESTDIR)$(bindir)/onedrive - $(INSTALL) -D -m 644 onedrive.1 $(DESTDIR)$(mandir)/man1/onedrive.1 - $(INSTALL) -D -m 644 contrib/logrotate/onedrive.logrotate $(DESTDIR)$(sysconfdir)/logrotate.d/onedrive + $(INSTALL) -D -m 0644 onedrive.1 $(DESTDIR)$(mandir)/man1/onedrive.1 + $(INSTALL) -D -m 0644 contrib/logrotate/onedrive.logrotate $(DESTDIR)$(sysconfdir)/logrotate.d/onedrive mkdir -p $(DESTDIR)$(docdir) - $(INSTALL) -D -m 644 $(DOCFILES) $(DESTDIR)$(docdir) + $(INSTALL) -D -m 0644 $(DOCFILES) $(DESTDIR)$(docdir) ifeq ($(HAVE_SYSTEMD),yes) $(INSTALL) -d -m 0755 $(DESTDIR)$(systemduserunitdir) $(DESTDIR)$(systemdsystemunitdir) ifeq ($(RHEL),1) @@ -127,9 +127,9 @@ ifeq ($(RHEL_VERSION),6) endif endif ifeq ($(COMPLETIONS),yes) - $(INSTALL) -D -m 644 contrib/completions/complete.zsh $(DESTDIR)$(ZSH_COMPLETION_DIR)/_onedrive - $(INSTALL) -D -m 644 contrib/completions/complete.bash $(DESTDIR)$(BASH_COMPLETION_DIR)/onedrive - $(INSTALL) -D -m 644 contrib/completions/complete.fish $(DESTDIR)$(FISH_COMPLETION_DIR)/onedrive.fish + $(INSTALL) -D -m 0644 contrib/completions/complete.zsh $(DESTDIR)$(ZSH_COMPLETION_DIR)/_onedrive + $(INSTALL) -D -m 0644 contrib/completions/complete.bash $(DESTDIR)$(BASH_COMPLETION_DIR)/onedrive + $(INSTALL) -D -m 0644 contrib/completions/complete.fish $(DESTDIR)$(FISH_COMPLETION_DIR)/onedrive.fish endif