diff options
Diffstat (limited to 'library/setupPkgYay.sh')
| -rwxr-xr-x | library/setupPkgYay.sh | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/library/setupPkgYay.sh b/library/setupPkgYay.sh deleted file mode 100755 index 0bcc293..0000000 --- a/library/setupPkgYay.sh +++ /dev/null @@ -1,30 +0,0 @@ -#!/bin/bash - -setupPkgYay () { - cd - git clone https://aur.archlinux.org/yay - - cd $HOME/yay - makepkg -isr - - cd - rm -rf $HOME/yay - - if [ "$1" = "pc" ]; then - yay -S --needed - < "$dirArchIsoFiles"/pkglists/pkglist.txt - elif [ "$1" = "notebook" ]; then - yay -S --needed - < "$dirArchIsoFiles"/pkglists/pkglistnote.txt - fi -} - -select platform in "pc" "notebook"; do - - if [ "$platform" = "" ]; then - echo "Invalid option" - break - else - setupPkgYay "$platform" - fi - - echo "✅ Готово" -done |
