mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
9 lines
253 B
Bash
9 lines
253 B
Bash
if [ -f "/opt/cirp/previous_runs_commit" ] && [ "$(cat /opt/cirp/previous_runs_commit)" == "$(git rev-parse HEAD)" ]
|
|
then
|
|
# No new commits in the repo
|
|
touch /opt/cirp/previous_runs_commit
|
|
git log -1
|
|
echo "No new commits in the repo"
|
|
exit 0
|
|
fi
|