1
0
mirror of https://github.com/makew0rld/amfora.git synced 2024-12-04 14:46:29 -05:00
amfora/config/default.sh
2020-07-28 16:58:32 -04:00

6 lines
186 B
Bash
Executable File

#!/usr/bin/env bash
head -n 3 default.go | tee default.go > /dev/null
echo -n 'var defaultConf = []byte(`' >> default.go
cat ../default-config.toml >> default.go
echo '`)' >> default.go