We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 41b308c commit 109922cCopy full SHA for 109922c
pac_get.sh
@@ -3,7 +3,7 @@ PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin
3
export PATH
4
5
PAC_URL="https://raw.githubusercontent.com/gfwlist/gfwlist/master/gfwlist.txt"
6
-Output_URL="/home/wwwroot/softs.pw/Other/pac.txt"
+Output_URL="pac.txt"
7
prefix_suffix(){
8
PAC_TAME="/*
9
* Last Updated:$(date '+%Y-%m-%d %H:%M:%S')
@@ -869,4 +869,4 @@ PAC_BASE64=$(urlsafe_base64_d "${PAC_TEXT}"|grep -v "!"|sed '1d;s/\\/\\\\/g;/^\s
869
PAC_NUM=$(echo "${PAC_BASE64}"|wc -l)
870
echo "${PAC_TAME}${PAC_prefix}${PAC_BASE64}${PAC_suffix}" > "${Output_URL}"
871
sed -i 's/$/\r/' "${Output_URL}"
872
-echo "${PAC_NUM}"
+echo "${PAC_NUM}"
0 commit comments