Add a script for initially configuring pacman

This commit is contained in:
Manuel Thalmann 2023-04-05 09:42:23 +02:00
parent db526b4a79
commit 5479261e71

View file

@ -0,0 +1,10 @@
#!/bin/bash
sudo sed -i \
-e "/^\[options\]$/,/^\[/{" \
-e "s/^#\?\(Color\)$/\1/;" \
-e "/^# Misc options$/{" \
-e "a ILoveCandy" \
-e "};" \
-e "}" \
-e "/^#\?\[multilib\]$/,/^$/{ s/^#\?\(.*\)$/\1/; }" \
/etc/pacman.conf