2024-07-14 07:44:32 +00:00
|
|
|
#!/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
|
2024-07-14 08:09:57 +00:00
|
|
|
|
|
|
|
runInstaller $argv
|
2024-07-14 07:44:32 +00:00
|
|
|
end
|