diff --git a/helperbot b/helperbot index 3beae01..7bc2828 100755 --- a/helperbot +++ b/helperbot @@ -35,7 +35,7 @@ fi # check that all required utils are installed function check_applications { - local all_required_applications=("bash" "wget" "tar" "zstd" "backblaze-b2") + local all_required_applications=("bash" "wget" "tar" "unzip" "zstd" "backblaze-b2") for application in "${all_required_applications[@]}"; do if [ ! -x "$(command -v $application)" ]; then @@ -695,7 +695,7 @@ function fedi_update_frontends { function _repeat_process { wget "$1" -O /tmp/"$2".zip unzip -o /tmp/"$2" -d $frontend_folder/"$3" - rm /tmp/"$2" + rm /tmp/"$2".zip } # TODO: it's probably possible to turn this into an array loop of some sort