Skip to content

Commit

Permalink
Don't give up uninstalling when one package is already missing
Browse files Browse the repository at this point in the history
  • Loading branch information
AndydeCleyre committed Sep 10, 2024
1 parent c36d1c4 commit e7b31e5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mk/ctnr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,9 @@ ctnr_mkuser () { # <username>

ctnr_trim () {
# shellcheck disable=SC2046,SC2086
ctnr_pkg_del $build_pkgs $aur_build_pkgs $(ctnr_run pacman -Qqdtt) || true
for pkg in $build_pkgs $aur_build_pkgs $(ctnr_run pacman -Qqdtt); do
ctnr_pkg_del "$pkg" || true
done
ctnr_run sh -c "rm -rf $fat"
}

Expand Down

0 comments on commit e7b31e5

Please sign in to comment.