Add package installer in BA machine script.

This commit is contained in:
Eduard Tolosa 2019-02-07 23:36:21 -05:00
parent 872542388f
commit ebc9eceadb

9
user-bin/inspkgs Executable file
View file

@ -0,0 +1,9 @@
#!/usr/bin/bash
fshared="/mnt/Shared/bapkgs"
if [ -z "$*" ]; then
cd "$fshared"
pkgs=$(ls *.pkg.tar.xz)
sudo pacman -U $pkgs
fi