diff --git a/repo_watcher.sh b/repo_watcher.sh index 6a426f8..e500202 100644 --- a/repo_watcher.sh +++ b/repo_watcher.sh @@ -12,8 +12,8 @@ while true; do # Clone the repo if it doesn't exist if [ -z "$(find /root/Repo_Watcher/repo -maxdepth 1 -mindepth 1 -type f -o -type d 2>/dev/null)" ]; then - curl -d "Downloading: $REPO_URL..." $NTFY_URL - echo "Downloading: $REPO_URL..." + curl -d "Pulling: $REPO_URL" $NTFY_URL + echo "Pulling: $REPO_URL" git clone $REPO_URL repo cd repo rsync -av --delete --exclude '.git/' ./ /DATA @@ -32,8 +32,8 @@ while true; do if [ $LOCAL = $REMOTE ]; then echo "Repository Up-to-Date" else - curl -d "Pulling Updates: $REPO_URL" $NTFY_URL - echo "Pulling Updates: $REPO_URL" + curl -d "Pulling: $REPO_URL" $NTFY_URL + echo "Pulling: $REPO_URL" git pull origin main rsync -av --delete --exclude '.git/' ./ /DATA fi