Fixed install script
This commit is contained in:
parent
3fba1b9636
commit
405037e3ec
14
install
14
install
|
@ -286,15 +286,13 @@ echo "/ | \ || | \ | | | / Y \| \ "
|
|||
echo "\____|__ /___||____|_ / |____| |___\____|__ /_______ / "
|
||||
echo -e " \/ \/ \/ \/ \n"
|
||||
|
||||
# If we don't pass the distribution/release into the installer,
|
||||
# install lsb-release and fetch them
|
||||
if [ -z "${distro}" ]; then
|
||||
loudCmd "apt-get install lsb-release"
|
||||
dist=`lsb_release -ds | awk '{print tolower($1);}'`
|
||||
code=`lsb_release -cs`
|
||||
fi
|
||||
|
||||
if [ "$ignore_dependencies" = "f" ]; then
|
||||
if [ -z "${dist}" ]; then
|
||||
loudCmd "apt-get install lsb-release"
|
||||
dist=`lsb_release -ds | awk '{print tolower($1);}'`
|
||||
code=`lsb_release -cs`
|
||||
fi
|
||||
|
||||
loud "\n-----------------------------------------------------"
|
||||
loud " * Installing External Dependencies * "
|
||||
loud "-----------------------------------------------------"
|
||||
|
|
Loading…
Reference in New Issue