Browse Source

Update vst-install-debian.sh

MartinG 9 năm trước cách đây
mục cha
commit
9f1ea16dc8
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      install/vst-install-debian.sh

+ 1 - 1
install/vst-install-debian.sh

@@ -13,7 +13,7 @@ VERSION='debian'
 memory=$(grep 'MemTotal' /proc/meminfo |tr ' ' '\n' |grep [0-9])
 memory=$(grep 'MemTotal' /proc/meminfo |tr ' ' '\n' |grep [0-9])
 arch=$(uname -i)
 arch=$(uname -i)
 os='debian'
 os='debian'
-release=$(cat /etc/issue|grep -o [0-9]|head -n1)
+release=$(cat /etc/debian_version|grep -o [0-9]|head -n1)
 codename="$(cat /etc/os-release |grep VERSION= |cut -f 2 -d \(|cut -f 1 -d \))"
 codename="$(cat /etc/os-release |grep VERSION= |cut -f 2 -d \(|cut -f 1 -d \))"
 vestacp="http://$CHOST/$VERSION/$release"
 vestacp="http://$CHOST/$VERSION/$release"