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
|
||||
echo '
|
||||
[askiiart]
|
||||
SigLevel = Optional
|
||||
Server = https://askiiart.net/repos/archlinux/$arch' | sudo tee -a /etc/pacman.conf
|
||||
|
||||
sudo pacman -Syu --noconfirm --needed
|
||||
|
||||
prep() {
|
||||
sudo mkdir /var/log/makepkg/
|
||||
sudo chown builder /var/log/makepkg/
|
||||
|
@ -19,7 +12,7 @@ Include = /etc/pacman.d/mirrorlist
|
|||
[askiiart]
|
||||
Server = https://askiiart.net/repos/archlinux/$arch
|
||||
SigLevel = Optional' | sudo tee -a /etc/pacman.conf
|
||||
sudo pacman -Sy
|
||||
sudo pacman -Syu
|
||||
mkdir /tmp/arch-workdir/
|
||||
chmod -R 777 /tmp/arch-workdir/
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue