post_install() { xdg-icon-resource forceupdate --theme hicolor 2> /dev/null update-desktop-database -q cat << EOF Not to enter a root password you may add following lines to /etc/sudoers: USERNAME ALL=NOPASSWD: /usr/bin/netctl-gui-netctl USERNAME ALL=NOPASSWD: /usr/bin/netctl-gui-wpa_supplicant EOF } post_upgrade() { post_install } post_remove() { post_install }