Browse Source

runVoid gnome-extension-cli again

bookworm
pvincent 3 years ago
parent
commit
67aad7c187
  1. 5
      src/main

5
src/main

@ -19,8 +19,9 @@ function runVoid(){
trap - ERR trap - ERR
local COMMAND="$@" local COMMAND="$@"
bash -c "${COMMAND}" >/dev/null 2>&1 bash -c "${COMMAND}" >/dev/null 2>&1
error=$?
trap 'trap_error $? $LINENO' ERR trap 'trap_error $? $LINENO' ERR
return $?
return $error
} }
@ -183,7 +184,7 @@ fi
echo "## gnome-extensions-cli" echo "## gnome-extensions-cli"
echo "=======================" echo "======================="
runVoid command gnome-extensions-cli 2> /dev/null
runVoid command gnome-extensions-cli
if [[ $? -ne 0 ]]; then if [[ $? -ne 0 ]]; then
sudo pip3 install gnome-extensions-cli sudo pip3 install gnome-extensions-cli
else else

Loading…
Cancel
Save