amfora/config/default.sh

6 lines
186 B
Bash
Raw Normal View History

2020-06-18 23:54:48 +03:00
#!/usr/bin/env bash
2020-07-28 23:58:32 +03:00
head -n 3 default.go | tee default.go > /dev/null
2020-06-18 23:54:48 +03:00
echo -n 'var defaultConf = []byte(`' >> default.go
cat ../default-config.toml >> default.go
echo '`)' >> default.go