small change to improve import libs
This commit is contained in:
parent
9095f286b4
commit
5c02d3c7da
1 changed files with 9 additions and 9 deletions
18
yggdrasil.sh
18
yggdrasil.sh
|
@ -11,21 +11,21 @@
|
||||||
# include functions and vars from external files
|
# include functions and vars from external files
|
||||||
#
|
#
|
||||||
dir=$(dirname $0)
|
dir=$(dirname $0)
|
||||||
source /opt/yggdrasil/vars.sh
|
source /opt/yggdrasil/vars.sh || exit 1
|
||||||
source /opt/yggdrasil/core_functions.sh
|
source /opt/yggdrasil/core_functions.sh || exit 1
|
||||||
source /opt/yggdrasil/tools_functions.sh
|
source /opt/yggdrasil/tools_functions.sh || exit 1
|
||||||
|
|
||||||
OS=`lsb_release -d | awk -F':' '{print $2}' | awk -F'\t' '{print $2}'`
|
OS=`lsb_release -d | awk -F':' '{print $2}' | awk -F'\t' '{print $2}'`
|
||||||
case $OS in
|
case $OS in
|
||||||
*"Ubuntu 16.04"* | *"Linux Mint 18"*)
|
*"Ubuntu 16.04"* | *"Linux Mint 18"*)
|
||||||
source /opt/yggdrasil/repo_functions_ub1604.sh
|
source /opt/yggdrasil/repo_functions_ub1604.sh || exit 1
|
||||||
source /opt/yggdrasil/install_functions_ub1604.sh
|
source /opt/yggdrasil/install_functions_ub1604.sh || exit 1
|
||||||
source /opt/yggdrasil/menus_functions_ub1604.sh
|
source /opt/yggdrasil/menus_functions_ub1604.sh || exit 1
|
||||||
;;
|
;;
|
||||||
*"Ubuntu 18.04"* | *"Linux Mint 19"*)
|
*"Ubuntu 18.04"* | *"Linux Mint 19"*)
|
||||||
source /opt/yggdrasil/repo_functions_ub1804.sh
|
source /opt/yggdrasil/repo_functions_ub1804.sh || exit 1
|
||||||
source /opt/yggdrasil/install_functions_ub1804.sh
|
source /opt/yggdrasil/install_functions_ub1804.sh || exit 1
|
||||||
source /opt/yggdrasil/menus_functions_ub1804.sh
|
source /opt/yggdrasil/menus_functions_ub1804.sh || exit 1
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
printf "\n"
|
printf "\n"
|
||||||
|
|
Loading…
Reference in a new issue