Teaspeak-Server/server/VersionHelper.sh
2020-01-24 02:57:58 +01:00

13 lines
203 B
Bash

#!/usr/bin/env bash
if [ -e "build.data" ]; then
echo "File exists"
DATA=$(cat "build.data")
else
echo "Create new file"
echo "0" > "build.data"
fi
DATA=$(($DATA+1))
echo "Data: $DATA"