From d917a45fe6cc68f496982c1c84ed27459c062afc Mon Sep 17 00:00:00 2001 From: Skiddle Git Assistant <160487326+Skiddle-Git@users.noreply.github.com> Date: Mon, 11 Mar 2024 12:32:31 +0700 Subject: [PATCH] Update update.sh --- update.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/update.sh b/update.sh index 7594bd1..8c5af97 100644 --- a/update.sh +++ b/update.sh @@ -1,6 +1,5 @@ #!/bin/bash -TARGET_DIR=~/Documents/blocklist FILE_NAME="$(date +"%Y-%m-%d")" cd "$TARGET_DIR" @@ -9,7 +8,7 @@ if [ -e "$FILE_NAME" ]; then rm "$FILE_NAME" fi -curl --insecure --proxy "http://36.91.98.115:8181" -o "$TARGET_DIR/domains" "$SOURCE_URL" +curl --insecure --proxy "http://36.91.98.115:8181" -o "domains" "$SOURCE_URL" git add domains git commit -m "Update"