Skip to content

Commit 109922c

Browse files
author
Toyo
authored
Update pac_get.sh
1 parent 41b308c commit 109922c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pac_get.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin
33
export PATH
44

55
PAC_URL="https://raw.githubusercontent.com/gfwlist/gfwlist/master/gfwlist.txt"
6-
Output_URL="/home/wwwroot/softs.pw/Other/pac.txt"
6+
Output_URL="pac.txt"
77
prefix_suffix(){
88
PAC_TAME="/*
99
* 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
869869
PAC_NUM=$(echo "${PAC_BASE64}"|wc -l)
870870
echo "${PAC_TAME}${PAC_prefix}${PAC_BASE64}${PAC_suffix}" > "${Output_URL}"
871871
sed -i 's/$/\r/' "${Output_URL}"
872-
echo "${PAC_NUM}"
872+
echo "${PAC_NUM}"

0 commit comments

Comments
 (0)