Add scripts for maintaining software installation

This commit is contained in:
Manuel Thalmann 2024-07-13 18:36:24 +02:00
parent 44bc1d7d1b
commit 60e55be26a
2 changed files with 29 additions and 0 deletions

View file

@ -0,0 +1,13 @@
#!/bin/env fish
begin
set -l dir (status dirname)
source "$dir/../../Common/Scripts/software.fish"
function yay -d "Install yay-package non-interactively"
command yay --noconfirm --needed --answerclean=None --answerdiff=None $argv
end
function pacinst -d "Install pacman-package non-interactively"
sudo pacman --noconfirm --needed $argv
end
end

View file

@ -0,0 +1,16 @@
#!/bin/env fish
begin
function installSW
end
function configureSW
end
function runInstaller -a action
if [ -z "$action" ] || [ "$action" = "install" ]
installSW
else [ "$action" = "configure" ]
configureSW
end
end
end