Skip to content

Commit 512ffb6

Browse files
authored
Update aur.sh
1 parent 6413eef commit 512ffb6

File tree

1 file changed

+5
-14
lines changed

1 file changed

+5
-14
lines changed

Cachyos/aur.sh

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,9 @@
1-
2-
3-
# Add key
4-
sudo pacman-key --recv-key 3056513887B78AEB --keyserver keyserver.ubuntu.com
5-
sudo pacman-key --lsign-key 3056513887B78AEB
6-
7-
# Add repo (Arch x86_64 only)
1+
#!/usr/bin/env bash
2+
# shellcheck enable=all shell=bash source-path=SCRIPTDIR
3+
sudo pacman-key --recv-key 3056513887B78AEB --keyserver keyserver.ubuntu.com && sudo pacman-key --lsign-key 3056513887B78AEB && \
4+
sudo pacman -Uq 'https://cdn-mirror.chaotic.cx/chaotic-aur/chaotic-keyring.pkg.tar.zst' 'https://cdn-mirror.chaotic.cx/chaotic-aur/chaotic-mirrorlist.pkg.tar.zst' --noconfirm
85
echo '
96
[chaotic-aur]
107
Include = /etc/pacman.d/chaotic-mirrorlist
118
' | sudo tee -a /etc/pacman.conf
12-
13-
# Install mirrorlist
14-
sudo pacman -U 'https://cdn-mirror.chaotic.cx/chaotic-aur/chaotic-keyring.pkg.tar.zst' \
15-
'https://cdn-mirror.chaotic.cx/chaotic-aur/chaotic-mirrorlist.pkg.tar.zst'
16-
17-
sudo pacman -Sy
18-
9+
sudo pacman -Syuq --noconfirm

0 commit comments

Comments
 (0)