mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-03 08:53:56 +08:00
🗽 Sync 2026-07-05 23:53:12
This commit is contained in:
1 parent
e9e683ee6c
commit
533394ac52
8 files changed
+14
-13
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