Manjaro-Pek / pacli

A simple and interative Bash Frontend for Pacman/Yaourt/Pacaur
GNU General Public License v2.0
44 stars 8 forks source link

Fix some AUR packages not being listed and minor clean up #52

Open natemaia opened 6 years ago

natemaia commented 6 years ago

Currently many packages don't show up when using option 22, wget cannot be backgrounded with & or the following cat will fail or miss packages. With this the package info is only loaded when needed and only ever loaded once regardless, this keeps the startup of pacli quick but when searching for AUR packages or other steps that need it, the info is loaded along with a message regarding the delay

I also just cleaned up a bit of indentation in main()

Cheers