git ssb

0+

cel / gitfeed



Commit 8d8ea51dc9b931311f0705627159a788df703ce0

Suppress site_id error

Charles Lehner committed on 5/14/2015, 7:40:13 PM
Parent: 61404e10b46499a38012698fcbc6200b7830397d

Files changed

feed.shchanged
feed.shView
@@ -9,9 +9,9 @@
99 }
1010
1111 : ${SITE_TITLE:=My Cool Site}
1212 : ${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)}
1414 : ${FEED_ENTRIES:=15}
1515 : ${FEED_WIDTH:=80}
1616
1717 cat <<EOF

Built with git-ssb-web