diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2020-06-19 11:34:22 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2020-06-19 11:34:22 -0700 |
commit | 6c8715d992336805d018e1b0b53b434f0ae64e57 (patch) | |
tree | e3148e9a0617b9834e5509f7591e89e5fe241631 /bin | |
parent | config: exclude unneeded parts (diff) | |
download | www-6c8715d992336805d018e1b0b53b434f0ae64e57.tar.gz www-6c8715d992336805d018e1b0b53b434f0ae64e57.tar.bz2 www-6c8715d992336805d018e1b0b53b434f0ae64e57.zip |
bin/update-userinfo.sh: fix stub userinfo.json
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/update-userinfo.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/update-userinfo.sh b/bin/update-userinfo.sh index 1acf8c2..6da0f5d 100755 --- a/bin/update-userinfo.sh +++ b/bin/update-userinfo.sh @@ -9,12 +9,12 @@ if [[ $(hostname -f) == *'gentoo.org'* ]] || [[ "$FORCE" == '1' ]]; then else echo 'skipped (not a gentoo.org box, assuming no LDAP available, set FORCE=1 to override).' if [[ ! -e "${DESTFILE}" ]]; then - cat >"${DESTFILE}" <<-EOF + echo ' { "current": {}, "retired": {}, "system": {} } - EOF + ' | tr '\t' ' ' >"${DESTFILE}" fi fi |