set -eu

screenNum=$(lib::getScreenNum "$CONFIG_FILE")

mkdir -p /data/screen
lib::rsyncDownload /apps/screen/ /data/screen
bash /data/screen/upgrade.sh deploy --screenNum $screenNum