From 528948d9b6880f6e0194c7e693c1a7060ebff21c Mon Sep 17 00:00:00 2001 From: askiiart Date: Wed, 27 Nov 2024 22:39:49 -0600 Subject: [PATCH] remove duplicate code --- blendos-repo-automation.sh | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/blendos-repo-automation.sh b/blendos-repo-automation.sh index 71f20d0..0b30dd8 100755 --- a/blendos-repo-automation.sh +++ b/blendos-repo-automation.sh @@ -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/ }