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:
parent
0173872cc2
commit
1aaa465b74
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue