mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-21 13:54:26 -07:00
More specific detecting of Ubuntu OS. Closes #246.
This commit is contained in:
parent
a93a094471
commit
6140837f0d
3 changed files with 3 additions and 3 deletions
|
@ -95,7 +95,7 @@ if [ "x$(id -u)" != 'x0' ]; then
|
|||
fi
|
||||
|
||||
# Check supported version
|
||||
if [ -e '/etc/redhat-release' ] || [ -e '/etc/lsb-release' ]; then
|
||||
if [ -e '/etc/redhat-release' ] || [ "$(lsb_release -si)" == "Ubuntu" ]; then
|
||||
echo 'Error: sorry, this installer works only on Debian 7'
|
||||
exit 1
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue