fix: Permissions issue

geoip.dat and geosite.dat should be 755, not 644.
pull/9/head
Dct Mei 2020-04-29 15:00:34 +08:00
parent 9c8f7fbbbf
commit c5deaa3d12
No known key found for this signature in database
GPG Key ID: 50BF8B712DCAD7EA
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ download_geosite() {
rename_new() {
for DAT in 'geoip' 'geosite'; do
mv "${V2RAY}$DAT.dat.new" "${V2RAY}$DAT.dat"
install -m 755 "${V2RAY}$DAT.dat.new" "${V2RAY}$DAT.dat"
rm "${V2RAY}$DAT.dat.sha256sum.new"
done
}