mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
31 lines
572 B
Text
31 lines
572 B
Text
post_install() {
|
|
echo "
|
|
==================================================
|
|
Setup Gufw for use without root password - sudo
|
|
==================================================
|
|
1. Edit /etc/sudoers with 'visudo' command as root:
|
|
# for wheel group privilege:
|
|
%wheel ALL=/usr/bin/gufw
|
|
|
|
OR
|
|
|
|
# for a single user privilege:
|
|
<user> ALL=/usr/bin/gufw
|
|
2. Execute:
|
|
$ gksudo gufw
|
|
"
|
|
}
|
|
|
|
post_upgrade() {
|
|
/bin/true
|
|
}
|
|
|
|
post_remove() {
|
|
/bin/true
|
|
}
|
|
|
|
op=$1
|
|
shift
|
|
$op $*
|
|
|
|
# vim:set ts=2 sw=2 et:
|