keenerd / packer

Bash wrapper for pacman and AUR.
247 stars 48 forks source link

install packages supplied to -Su. Closes #60. #122

Open euclio opened 10 years ago

euclio commented 10 years ago

I moved the code for installation after the code for updating to allow supplying packages to a -Su command. That is, it is now possible to install packages by issuing a command such as packer -Syu <packages>.This is consistent with pacman behavior.

AladW commented 8 years ago

if [[ foo || bar ]] is pretty ugly though. Perhaps you could use variables instead, and check for their values.