|
|
@ -304,6 +304,21 @@ fn_deps_detector(){ |
|
|
|
fi |
|
|
|
} |
|
|
|
|
|
|
|
if [ "${commandname}" == "INSTALL" ]; then |
|
|
|
if [ "$(whoami)" == "root" ]; then |
|
|
|
echo -e "" |
|
|
|
echo -e "${lightyellow}Checking Dependencies as root${default}" |
|
|
|
echo -e "=================================" |
|
|
|
fn_print_information_nl "Checking any missing dependencies for ${gamename} server only." |
|
|
|
fn_print_information_nl "This will NOT install a ${gamename} server." |
|
|
|
fn_sleep_time |
|
|
|
else |
|
|
|
echo -e "" |
|
|
|
echo -e "${lightyellow}Checking Dependencies${default}" |
|
|
|
echo -e "=================================" |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
info_distro.sh |
|
|
|
|
|
|
|
if [ ! -f "${tmpdir}/dependency-no-check.tmp" ]&&[ ! -f "${datadir}/${distroid}-${distroversion}.csv" ]; then |
|
|
|