Skip to content

Commit e6d6e19

Browse files
committed
# Fallback to Ubuntu
1 parent b0c0702 commit e6d6e19

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

install/vst-install.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,11 @@ case $(head -n1 /etc/issue | cut -f 1 -d ' ') in
4444
*) type="rhel" ;;
4545
esac
4646

47+
# Fallback to Ubuntu
48+
if [ ! -e "/etc/redhat-release" ]; then
49+
type='ubuntu'
50+
fi
51+
4752
# Check wget
4853
if [ -e '/usr/bin/wget' ]; then
4954
wget http://vestacp.com/pub/vst-install-$type.sh -O vst-install-$type.sh

0 commit comments

Comments
 (0)