netctl-gui/netctl-gui.install
2014-03-25 11:00:50 +04:00

18 lines
385 B
Plaintext

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
}