Skip to content

Commit

Permalink
Update update.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Skiddle-Git authored Mar 11, 2024
1 parent 303ee3e commit d917a45
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions update.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#!/bin/bash

TARGET_DIR=~/Documents/blocklist
FILE_NAME="$(date +"%Y-%m-%d")"

cd "$TARGET_DIR"
Expand All @@ -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"
Expand Down

0 comments on commit d917a45

Please sign in to comment.