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

sudo pacman -Sy;