check-all output period if empty

pull/40/head
Botspot 4 years ago
parent 19b0ad4b1d
commit 7ff3695442

@ -265,6 +265,10 @@ elif [ "$1" == 'check-all' ];then
#remove initial '|' character
updatable="${updatable:1}"
if [ -z "$updatable" ];then
updatable='.'
fi
echo -e "\e[97mThese apps can be updated:\n${updatable}"
elif [ "$1" == 'update-all' ];then
#UPDATE-ALL

@ -61,6 +61,10 @@ updatable="$("${DIRECTORY}/manage" check-all $installedonly)"
#shorten to last line
updatable="$(echo "$updatable" | tail -1)"
if [ "$updatable" == '.' ];then
updatable=''
fi
echo "updatable: $updatable"
#if check-all succeeded to download the repo to the update folder

Loading…
Cancel
Save