Automatically install enumerated software

This commit is contained in:
Manuel Thalmann 2024-07-15 09:41:02 +02:00
parent 00d695b443
commit 484adccf9f
4 changed files with 5 additions and 5 deletions

View file

@ -4,10 +4,10 @@ begin
source "$dir/../../Common/Scripts/software.fish"
function yayinst -d "Install yay-package non-interactively"
yay --noconfirm --needed --answerclean=None --answerdiff=None $argv
yay --noconfirm --needed --answerclean=None --answerdiff=None -Syu $argv
end
function pacinst -d "Install pacman-package non-interactively"
sudo pacman --noconfirm --needed $argv
sudo pacman --noconfirm --needed -Syu $argv
end
end

View file

@ -4,7 +4,7 @@ begin
source "$dir/../../Scripts/software.fish"
function installSW
pacinst -Syu base-devel
pacinst base-devel
configureSW
end

View file

@ -19,7 +19,7 @@ begin
-e '/^#\?\[multilib\]$/,/^$/{ s/^#\?\(.*\)$/\1/; }' \
/etc/pacman.conf
pacinst -Sy
pacman -Sy
end
runInstaller $argv

View file

@ -6,7 +6,7 @@ begin
function installSW
if not type -q yay
set -l contextRoot (mktemp -d)
pacinst -Syu git
pacinst git
git clone https://aur.archlinux.org/yay.git "$contextRoot"
pushd "$contextRoot" > /dev/null