Update install-release.sh

修改路径,跟https://github.com/XTLS/Xray-install保持一致
pull/86/head
winds365 2025-03-09 09:15:31 +08:00 committed by yuhan6665
parent cfddeb5115
commit 25dc8d6542
1 changed files with 5 additions and 5 deletions

View File

@ -109,9 +109,9 @@ is_it_running() {
install_xray() {
install -m 755 "${TMP_DIRECTORY}xray" "/usr/local/bin/xray"
install -d /usr/local/lib/xray/
install -m 755 "${TMP_DIRECTORY}geoip.dat" "/usr/local/lib/xray/geoip.dat"
install -m 755 "${TMP_DIRECTORY}geosite.dat" "/usr/local/lib/xray/geosite.dat"
install -d /usr/local/share/xray/
install -m 755 "${TMP_DIRECTORY}geoip.dat" "/usr/local/share/xray/geoip.dat"
install -m 755 "${TMP_DIRECTORY}geosite.dat" "/usr/local/share/xray/geosite.dat"
}
install_confdir() {
@ -151,8 +151,8 @@ install_startup_service_file() {
information() {
echo 'installed: /usr/local/bin/xray'
echo 'installed: /usr/local/lib/xray/geoip.dat'
echo 'installed: /usr/local/lib/xray/geosite.dat'
echo 'installed: /usr/local/share/xray/geoip.dat'
echo 'installed: /usr/local/share/xray/geosite.dat'
if [ "$CONFDIR" -eq '1' ]; then
echo 'installed: /usr/local/etc/xray/00_log.json'
echo 'installed: /usr/local/etc/xray/01_api.json'