-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaurpackages.sh
32 lines (21 loc) · 982 Bytes
/
aurpackages.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/bin/bash
source install.conf
echo "======================================================================"
echo "====================== Installing AUR packages ======================="
echo "======================================================================"
aurpackages=(
'coreimage' #Image Viewer CoreImage
'google-chrome' #Google Chrome Browser
'xdman' #Download Manager (X Download Manager)
)
git clone "https://aur.archlinux.org/yay.git"
chown -R ${USERNAME}:users ./yay
#Building the yay package
su -c 'cd yay && makepkg -si --noconfirm && cd ..' ${USERNAME}
#Download AUR Packages
for PKG in "${aurpackages[@]}"; do
sudo -c ${USERNAME} yay -S --noconfirm $PKG
done
echo "======================================================================"
echo "=================== Package Installation Complete ===================="
echo "======================================================================"