Automatically install enumerated software
This commit is contained in:
parent
39ef53aa0f
commit
ed065e6991
|
@ -4,10 +4,10 @@ begin
|
||||||
source "$dir/../../Common/Scripts/software.fish"
|
source "$dir/../../Common/Scripts/software.fish"
|
||||||
|
|
||||||
function yayinst -d "Install yay-package non-interactively"
|
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
|
end
|
||||||
|
|
||||||
function pacinst -d "Install pacman-package non-interactively"
|
function pacinst -d "Install pacman-package non-interactively"
|
||||||
sudo pacman --noconfirm --needed $argv
|
sudo pacman --noconfirm --needed -Syu $argv
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -4,7 +4,7 @@ begin
|
||||||
source "$dir/../../Scripts/software.fish"
|
source "$dir/../../Scripts/software.fish"
|
||||||
|
|
||||||
function installSW
|
function installSW
|
||||||
pacinst -Syu base-devel
|
pacinst base-devel
|
||||||
configureSW
|
configureSW
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@ begin
|
||||||
-e '/^#\?\[multilib\]$/,/^$/{ s/^#\?\(.*\)$/\1/; }' \
|
-e '/^#\?\[multilib\]$/,/^$/{ s/^#\?\(.*\)$/\1/; }' \
|
||||||
/etc/pacman.conf
|
/etc/pacman.conf
|
||||||
|
|
||||||
pacinst -Sy
|
pacman -Sy
|
||||||
end
|
end
|
||||||
|
|
||||||
runInstaller $argv
|
runInstaller $argv
|
||||||
|
|
|
@ -6,7 +6,7 @@ begin
|
||||||
function installSW
|
function installSW
|
||||||
if not type -q yay
|
if not type -q yay
|
||||||
set -l contextRoot (mktemp -d)
|
set -l contextRoot (mktemp -d)
|
||||||
pacinst -Syu git
|
pacinst git
|
||||||
git clone https://aur.archlinux.org/yay.git "$contextRoot"
|
git clone https://aur.archlinux.org/yay.git "$contextRoot"
|
||||||
|
|
||||||
pushd "$contextRoot" > /dev/null
|
pushd "$contextRoot" > /dev/null
|
||||||
|
|
Loading…
Reference in a new issue