Skip to content

Commit

Permalink
feat: add clean/remove commands for pkcon
Browse files Browse the repository at this point in the history
@RaitaroH you'll have to verify that this works. I just used the
documentation you gave me as a reference.
  • Loading branch information
vednoc committed Oct 1, 2020
1 parent 4908034 commit 0c96077
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ clean() {
case "$PKG_MAN" in
pacman) pacman -Sc ;;
xbps) xbps-remove -O ;;
apt) apt clean ;;
apt|pkcon) apt clean ;;
esac
}

Expand Down Expand Up @@ -72,6 +72,7 @@ remove() {
pacman) pacman -Rs "$@" ;;
xbps) xbps-remove -R "$@" ;;
apt) apt remove "$@" ;;
pkcon) pkcon remove "$@" ;;
esac
}

Expand Down

0 comments on commit 0c96077

Please sign in to comment.