Automatically install enumerated software
This commit is contained in:
parent
39ef53aa0f
commit
ed065e6991
|
@ -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
|
||||
|
|
|
@ -4,7 +4,7 @@ begin
|
|||
source "$dir/../../Scripts/software.fish"
|
||||
|
||||
function installSW
|
||||
pacinst -Syu base-devel
|
||||
pacinst base-devel
|
||||
configureSW
|
||||
end
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ begin
|
|||
-e '/^#\?\[multilib\]$/,/^$/{ s/^#\?\(.*\)$/\1/; }' \
|
||||
/etc/pacman.conf
|
||||
|
||||
pacinst -Sy
|
||||
pacman -Sy
|
||||
end
|
||||
|
||||
runInstaller $argv
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue