Allow overwriting packages
This commit is contained in:
parent
2b3440f3fd
commit
86d845768a
2 changed files with 11 additions and 3 deletions
|
@ -3,11 +3,19 @@ begin
|
||||||
set -l dir (status dirname)
|
set -l dir (status dirname)
|
||||||
source "$dir/../../Common/Scripts/software.fish"
|
source "$dir/../../Common/Scripts/software.fish"
|
||||||
|
|
||||||
|
function runYay -d "Run yay with pre-configured defaults"
|
||||||
|
yay --needed --answerclean=None --answerdiff=None -Syu $argv
|
||||||
|
end
|
||||||
|
|
||||||
function yayinst -d "Install yay-package non-interactively"
|
function yayinst -d "Install yay-package non-interactively"
|
||||||
yay --noconfirm --needed --answerclean=None --answerdiff=None -Syu $argv
|
runYay --noconfirm $argv
|
||||||
|
end
|
||||||
|
|
||||||
|
function runPacman -d "Run pacman with pre-configured defaults"
|
||||||
|
sudo pacman --needed -Syu $argv
|
||||||
end
|
end
|
||||||
|
|
||||||
function pacinst -d "Install pacman-package non-interactively"
|
function pacinst -d "Install pacman-package non-interactively"
|
||||||
sudo pacman --noconfirm --needed -Syu $argv
|
sudo runPacman --noconfirm $argv
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -5,12 +5,12 @@ begin
|
||||||
|
|
||||||
function installSW
|
function installSW
|
||||||
yayinst qemu-full
|
yayinst qemu-full
|
||||||
|
yes | runPacman --asdeps iptables-nft
|
||||||
|
|
||||||
yes | yayinst \
|
yes | yayinst \
|
||||||
virtiofsd \
|
virtiofsd \
|
||||||
virt-manager \
|
virt-manager \
|
||||||
dnsmasq \
|
dnsmasq \
|
||||||
iptables-nft \
|
|
||||||
swtpm \
|
swtpm \
|
||||||
lxc \
|
lxc \
|
||||||
virt-bootstrap-git
|
virt-bootstrap-git
|
||||||
|
|
Loading…
Reference in a new issue