1
0
Fork 0
mirror of https://github.com/overleaf/toolkit.git synced 2025-04-19 15:28:06 +02:00

Add server-pro marker to backup

This commit is contained in:
June Kelly 2021-08-27 11:20:57 +01:00
parent 0173872cc2
commit 1aaa465b74

View file

@ -17,6 +17,9 @@ fi
TMP_ROOT_DIR="$TOOLKIT_ROOT/tmp"
IS_SERVER_PRO="$(grep -q 'SERVER_PRO=true' \
"$TOOLKIT_ROOT/config/overleaf.rc" && echo 'true' || echo 'false')"
function usage() {
cat <<EOF
Usage: bin/backup
@ -104,6 +107,7 @@ function write-info-file () {
Backup info:
- time: $(date '+%F-%H%M%S')
- user: $(whoami)
- server pro: $IS_SERVER_PRO
EOF
}