diff options
| author | 2023-12-27 18:28:33 +0000 | |
|---|---|---|
| committer | 2023-12-27 18:28:33 +0000 | |
| commit | 05b8c6f68cb99ef215fd7b4cf362fe9f7be09e38 (patch) | |
| tree | 858ffe13cd4aa47a4dc536c0a20159029bb3a3df /library | |
| parent | 536f5eb85f46e30f3c2e3bf21fed7bc08f0d0132 (diff) | |
update
Diffstat (limited to 'library')
| -rwxr-xr-x | library/yaySetupPkg.sh | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/library/yaySetupPkg.sh b/library/yaySetupPkg.sh index 30a4055..326a3b4 100755 --- a/library/yaySetupPkg.sh +++ b/library/yaySetupPkg.sh @@ -8,7 +8,13 @@ yaySetupPkg () { cd rm -rf $HOME/yay - yay -S --needed - < "$dirArchIsoFiles"/pkglist.txt + if [ "$1" = "pc" ]; then + yay -S --needed - < "$dirArchIsoFiles"/pkglist.txt + elif [ "$1" = "notebook" ]; then + yay -S --needed - < "$dirArchIsoFiles"/pkglistnote.txt + fi } -yaySetupPkg +select platform in "pc" "notebook"; do + yaySetupPkg "$platform" +done |
