summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2018-10-27 12:00:42 -0400
committerJesse Luehrs <doy@tozt.net>2018-10-27 12:00:42 -0400
commit472bbf179b358e0675896ad4b8188b5d3392c128 (patch)
tree55cf249f48973f8d3720d2310a0969bf58c7945f /Makefile
parentabc76c16c1d1547df922916b0a6e117bd5e7dd9e (diff)
downloadconf-472bbf179b358e0675896ad4b8188b5d3392c128.tar.gz
conf-472bbf179b358e0675896ad4b8188b5d3392c128.zip
don't break make if pass isn't installed
eventually i'll make system-specific modifications a thing
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 8da3a3a..ff90b58 100644
--- a/Makefile
+++ b/Makefile
@@ -136,7 +136,7 @@ less : lesskey
lesskey -o $@ $<
wunderground :
- pass show websites/wunderground.com/wunderground@tozt.net > $@
+ [ ! -e ~/.password-store ] && pass show websites/wunderground.com/wunderground@tozt.net > $@ || touch $@
mpdscribble/mpdscribble.conf : mpdscribble/mpdscribble.conf.tmpl
perl -E'while (<STDIN>) { if (/^password =/) { say "password = $$ARGV[0]" } else { print } }' "$$(pass show websites/last.fm/doyster)" < $< > $@