Skip to content

Commit

Permalink
single brackets
Browse files Browse the repository at this point in the history
  • Loading branch information
Botspot authored Jul 19, 2024
1 parent d573e26 commit 74ead23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api
Original file line number Diff line number Diff line change
Expand Up @@ -734,7 +734,7 @@ purge_packages() { #Allow dependencies of the $app app to be autoremoved.

status "Purging the $package_name package..."

if [[ "$script_input" == "update" ]]; then
if [ "$script_input" == "update" ]; then
# skip --autoremove for faster updates. this prevents dummy deb dependencies from needing to be uninstalled and reinstalled on updates
apt_lock_wait
local output="$(sudo -E apt purge -y "$package_name" 2>&1 | less_apt | tee /dev/stderr)"
Expand Down

0 comments on commit 74ead23

Please sign in to comment.