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()
Currently many packages don't show up when using option 22,
wget
cannot be backgrounded with&
or the followingcat
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 delayI also just cleaned up a bit of indentation in
main()
Cheers