mirror of
https://github.com/edu4rdshl/linuxscripts.git
synced 2026-07-17 23:24:52 +00:00
Add package installer in BA machine script.
This commit is contained in:
parent
872542388f
commit
ebc9eceadb
1 changed files with 9 additions and 0 deletions
9
user-bin/inspkgs
Executable file
9
user-bin/inspkgs
Executable 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue