update the script

This commit is contained in:
leah 2022-02-05 00:12:50 +00:00
parent 6d8b26d94b
commit 34a4fdadcd
1 changed files with 1 additions and 4 deletions

5
scripts/update-data/update-data.sh Normal file → Executable file
View File

@ -16,11 +16,10 @@ main() {
# this will run everything else.
# change when deploying
prefix="${BREADSITE_DATA_DIR:-/c/Users/leah/projects/sl/site2}"
prefix="${SITE_DIR:-/src/site}"
# jobs to run
# command | toml_output > file
update_shells > $prefix/shells.toml
update_users > $prefix/users.toml
}
@ -69,5 +68,3 @@ update_users() {
# run the thing - DON'T EDIT HERE
main "$@"