mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-11-17 05:32:56 +08:00
update 2026-07-06 01:03:21
This commit is contained in:
1 parent
b36a44f0ee
commit
a61a4c5e0a
3 files changed
+4
-3
No files matched your search
@@ -315,13 +315,13 @@ link_mihomo_geodata() {
|
||||
ln -sf /usr/share/v2ray/geosite.dat "$workdir/geosite.dat"
|
||||
else
|
||||
[ -s /etc/openclash/GeoSite.dat ] && ln -sf /etc/openclash/GeoSite.dat "$workdir/GeoSite.dat"
|
||||
[ -s /etc/openclash/geosite.dat ] && ln -sf /etc/openclash/geosite.dat "$workdir/geosite.dat"
|
||||
[ -s /etc/openclash/GeoSite.dat ] && ln -sf /etc/openclash/GeoSite.dat "$workdir/geosite.dat"
|
||||
fi
|
||||
|
||||
if [ -s /usr/share/v2ray/geoip.dat ]; then
|
||||
ln -sf /usr/share/v2ray/geoip.dat "$workdir/geoip.dat"
|
||||
else
|
||||
[ -s /etc/openclash/geoip.dat ] && ln -sf /etc/openclash/geoip.dat "$workdir/geoip.dat"
|
||||
[ -s /etc/openclash/GeoIP.dat ] && ln -sf /etc/openclash/GeoIP.dat "$workdir/geoip.dat"
|
||||
fi
|
||||
|
||||
return 0
|
||||
|
||||
Reference in new issue
Block a user