summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2018-11-29 23:35:28 -0500
committerJesse Luehrs <doy@tozt.net>2018-11-29 23:35:28 -0500
commitcffd218e71de76d9e6878f76e73b0cd6bad631db (patch)
treeb2f43811d59d53165b11bd82e03c90fbbf276652
parent7862acd3be5b51f3542ccbd95167976906cc2076 (diff)
downloadconf-cffd218e71de76d9e6878f76e73b0cd6bad631db.tar.gz
conf-cffd218e71de76d9e6878f76e73b0cd6bad631db.zip
only install msmtp config on hush
-rw-r--r--Makefile3
-rw-r--r--Makefile.hush4
2 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 43292f8..589df04 100644
--- a/Makefile
+++ b/Makefile
@@ -13,7 +13,6 @@ INSTALL := \
.config/git/config \
.config/git/ignore \
.config/mpd/mpd.conf \
- .config/msmtp/config \
.config/ncmpcpp/bindings \
.config/sh/aliases \
.config/sh/cdhist.sh \
@@ -104,7 +103,7 @@ submodules :
@git submodule update --init --recursive
install :: all $(INSTALLED)
- @chmod 600 config/msmtp/config ssh/cao_key
+ @chmod 600 ssh/cao_key
@chmod 700 gnupg
$(ECHO) Installed into $(INTO)
diff --git a/Makefile.hush b/Makefile.hush
index 43327f7..f3c5370 100644
--- a/Makefile.hush
+++ b/Makefile.hush
@@ -7,6 +7,7 @@ INSTALL := \
.config/i3/signal-workspace.json \
.config/i3/terminal-workspace.json \
.config/i3status/config \
+ .config/msmtp/config \
.config/offlineimap/config \
.config/offlineimap/pass.py \
.config/perspektiv/config.toml \
@@ -36,6 +37,9 @@ BUILD := \
config/alacritty/alacritty.yml \
mpdscribble/mpdscribble.conf
+install ::
+ @chmod 600 config/msmtp/config
+
clean ::
@crontab -r