Streamline pacman
installation
This commit is contained in:
parent
cecb640619
commit
0178bb53d1
2 changed files with 24 additions and 1 deletions
|
@ -4,7 +4,7 @@ begin
|
|||
|
||||
function initialize -V dir
|
||||
source "$dir/../Software/base-devel/main.fish"
|
||||
"$dir/../Config/pacman/install.sh"
|
||||
source "$dir/../Software/pacman/main.fish"
|
||||
"$dir/../Software/yay/install.sh"
|
||||
end
|
||||
|
||||
|
|
23
scripts/Arch/Software/pacman/main.fish
Normal file
23
scripts/Arch/Software/pacman/main.fish
Normal file
|
@ -0,0 +1,23 @@
|
|||
#!/bin/env fish
|
||||
begin
|
||||
set -l dir (status dirname)
|
||||
source "$dir/../../Scripts/software.fish"
|
||||
|
||||
function installSW
|
||||
configureSW
|
||||
end
|
||||
|
||||
function configureSW
|
||||
sed -i \
|
||||
-e "/^\[options\]$/,/^\[/{" \
|
||||
-e "s/^#\?\(Color\)$/\1/;" \
|
||||
-e "/^# Misc Options$/{" (
|
||||
# -e "a ILoveCandy"
|
||||
) \
|
||||
-e "};" \
|
||||
-e "/^#\?\[multilib\]$/,/^$/{ s/^#\?\(.*\)$/\1/; }" \
|
||||
/etc/pacman.conf
|
||||
|
||||
pacinst -Sy
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue