Remove unecessary output messages
This commit is contained in:
parent
b85d6303bb
commit
cd1d73174f
1 changed files with 6 additions and 3 deletions
|
@ -269,6 +269,8 @@ required_commands ()
|
||||||
# Check if an executable exist
|
# Check if an executable exist
|
||||||
# $1 executables separated with spaces
|
# $1 executables separated with spaces
|
||||||
|
|
||||||
|
# if uninstall, we don't need to process required commands.
|
||||||
|
[ $install -eq 0 ] && return
|
||||||
printf "Checking required programs :\n"
|
printf "Checking required programs :\n"
|
||||||
for p in $1
|
for p in $1
|
||||||
do
|
do
|
||||||
|
@ -325,9 +327,10 @@ define_env ()
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
## create bin directory
|
## create bin and cache direcories
|
||||||
[ ! -d $BIN_DIRECTORY ] && mkdir -p $BIN_DIRECTORY || printf "bin exist\n"
|
[ ! -d $BIN_DIRECTORY ] && mkdir -p $BIN_DIRECTORY
|
||||||
[ ! -d $CACHE_DIR ] && mkdir -p $CACHE_DIR || printf "cache exist\n"
|
[ ! -d $CACHE_DIR ] && mkdir -p $CACHE_DIR
|
||||||
|
|
||||||
# define mode : install, uninstall or update
|
# define mode : install, uninstall or update
|
||||||
case $1 in
|
case $1 in
|
||||||
"uninstall")
|
"uninstall")
|
||||||
|
|
Reference in a new issue