diff --git a/scripts/Arch/Scripts/software.fish b/scripts/Arch/Scripts/software.fish new file mode 100644 index 00000000..7c9d742d --- /dev/null +++ b/scripts/Arch/Scripts/software.fish @@ -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 diff --git a/scripts/Common/Scripts/software.fish b/scripts/Common/Scripts/software.fish new file mode 100644 index 00000000..9a29fc9b --- /dev/null +++ b/scripts/Common/Scripts/software.fish @@ -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