Very simple wrapper to xbps-* commands

xbps 401B

123456789101112131415
  1. #!/bin/bash
  2. case $1 in
  3. -a) shift; xbps-alternatives "$@";;
  4. -i) shift; xbps-install "$@";;
  5. -p) shift; xbps-pkgdb "$@";;
  6. -q) shift; xbps-query "$@";;
  7. -r) shift; xbps-remove "$@";;
  8. -rc) shift; xbps-reconfigure "$@";;
  9. add) shift; xbps-install -S "$@";;
  10. del) shift; xbps-remove -R "$@";;
  11. search) shift; xbps-query -Rs "$@";;
  12. info) shift; xbps-query -R "$@";;
  13. esac