Clean up and refinements
This commit is contained in:
parent
f909883f57
commit
a181243c00
1 changed files with 2 additions and 2 deletions
|
|
@ -30,7 +30,7 @@ cmd_query() {
|
||||||
local PACKAGE="$1"
|
local PACKAGE="$1"
|
||||||
|
|
||||||
if ! command -v "$PACKAGE" >/dev/null 2>&1 ; then
|
if ! command -v "$PACKAGE" >/dev/null 2>&1 ; then
|
||||||
echo "$PACKAGE" >> $TMP/missingDeps
|
echo " - $PACKAGE" >> $TMP/missingDeps
|
||||||
|
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
@ -46,7 +46,7 @@ dependency_check () {
|
||||||
|
|
||||||
if [ -f "$TMP/missingDeps" ] ; then
|
if [ -f "$TMP/missingDeps" ] ; then
|
||||||
MISSING=$(cat $TMP/missingDeps)
|
MISSING=$(cat $TMP/missingDeps)
|
||||||
echo -e "\n ${RED}Following dependencies are missing :\n\n${YEL}$MISSING\n\n ${CYN}Please install and re-run script !${CRS}"
|
echo -e "\n ${RED}Following dependencies are missing :\n\n${CRS}$MISSING\n\n ${CYN}Please install and re-run script !${CRS}"
|
||||||
exit_clean
|
exit_clean
|
||||||
exit
|
exit
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue