remove duplicate code
This commit is contained in:
parent
6b09d9084c
commit
528948d9b6
1 changed files with 1 additions and 8 deletions
|
@ -1,11 +1,4 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
echo '
|
|
||||||
[askiiart]
|
|
||||||
SigLevel = Optional
|
|
||||||
Server = https://askiiart.net/repos/archlinux/$arch' | sudo tee -a /etc/pacman.conf
|
|
||||||
|
|
||||||
sudo pacman -Syu --noconfirm --needed
|
|
||||||
|
|
||||||
prep() {
|
prep() {
|
||||||
sudo mkdir /var/log/makepkg/
|
sudo mkdir /var/log/makepkg/
|
||||||
sudo chown builder /var/log/makepkg/
|
sudo chown builder /var/log/makepkg/
|
||||||
|
@ -19,7 +12,7 @@ Include = /etc/pacman.d/mirrorlist
|
||||||
[askiiart]
|
[askiiart]
|
||||||
Server = https://askiiart.net/repos/archlinux/$arch
|
Server = https://askiiart.net/repos/archlinux/$arch
|
||||||
SigLevel = Optional' | sudo tee -a /etc/pacman.conf
|
SigLevel = Optional' | sudo tee -a /etc/pacman.conf
|
||||||
sudo pacman -Sy
|
sudo pacman -Syu
|
||||||
mkdir /tmp/arch-workdir/
|
mkdir /tmp/arch-workdir/
|
||||||
chmod -R 777 /tmp/arch-workdir/
|
chmod -R 777 /tmp/arch-workdir/
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue