Przeglądaj źródła

Merge pull request #684 from MartinRaiola/patch-1

Fix OS version in vst-install-debian.sh
Serghey Rodin 9 lat temu
rodzic
commit
c6249faf6c
1 zmienionych plików z 1 dodań i 1 usunięć
  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"