add x64 bins and arm64 bin
This commit is contained in:
+10
-1
@@ -7,4 +7,13 @@ install_btop() {
|
||||
spawn "Installing btop" sudo apt install -y btop
|
||||
}
|
||||
|
||||
install_btop
|
||||
uninstall_btop() {
|
||||
command -v btop &>/dev/null || { log "btop not installed"; return 0; }
|
||||
spawn "Removing btop" sudo apt purge -y btop
|
||||
spawn "Cleaning up dependencies" sudo apt autoremove -y
|
||||
}
|
||||
|
||||
case "${1:-}" in
|
||||
uninstall) uninstall_btop ;;
|
||||
*) install_btop ;;
|
||||
esac
|
||||
|
||||
Reference in New Issue
Block a user