Commit 8d8ea51dc9b931311f0705627159a788df703ce0
Suppress site_id error
Charles Lehner committed on 5/14/2015, 7:40:13 PMParent: 61404e10b46499a38012698fcbc6200b7830397d
Files changed
feed.sh | changed |
feed.sh | ||
---|---|---|
@@ -9,9 +9,9 @@ | ||
9 | 9 … | } |
10 | 10 … | |
11 | 11 … | : ${SITE_TITLE:=My Cool Site} |
12 | 12 … | : ${SITE_AUTHOR:=$(grep $(id -u) /etc/passwd | cut -d: -f 5 | cut -d, -f1)} |
13 | -: ${SITE_ID:=$(cat site_id || echo urn:uuid:$(uuidgen) | tee site_id)} | |
13 … | +: ${SITE_ID:=$(cat site_id 2>&- || echo urn:uuid:$(uuidgen) | tee site_id)} | |
14 | 14 … | : ${FEED_ENTRIES:=15} |
15 | 15 … | : ${FEED_WIDTH:=80} |
16 | 16 … | |
17 | 17 … | cat <<EOF |
Built with git-ssb-web