Add scripts for maintaining software installation
This commit is contained in:
parent
1d740e2372
commit
9885850fce
2 changed files with 29 additions and 0 deletions
13
scripts/Arch/Scripts/software.fish
Normal file
13
scripts/Arch/Scripts/software.fish
Normal 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
|
16
scripts/Common/Scripts/software.fish
Normal file
16
scripts/Common/Scripts/software.fish
Normal 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
|
Loading…
Reference in a new issue