summarylogtreecommitdiffstats
path: root/netctlgui-helper.install
diff options
context:
space:
mode:
authorarcan1s2015-06-08 19:56:42 +0300
committerarcan1s2015-06-08 19:56:42 +0300
commit4df0d1096335bfa8c5fcc53321e196fab995fd03 (patch)
tree028ecb03171671074596aef300239c88bad30d80 /netctlgui-helper.install
downloadaur-4df0d1096335bfa8c5fcc53321e196fab995fd03.tar.gz
upload netctl-gui
Diffstat (limited to 'netctlgui-helper.install')
-rw-r--r--netctlgui-helper.install11
1 files changed, 11 insertions, 0 deletions
diff --git a/netctlgui-helper.install b/netctlgui-helper.install
new file mode 100644
index 000000000000..7d11847293db
--- /dev/null
+++ b/netctlgui-helper.install
@@ -0,0 +1,11 @@
+post_install() {
+ setcap cap_setuid=ep usr/bin/netctlgui-helper 2>/dev/null || chmod +s usr/bin/netctlgui-helper
+ cat << EOF
+Note: users should be in network group if you want to get them access to the system bus
+See http://arcanis.name/devs/netctl-gui-security-notes.html#helper
+EOF
+}
+
+post_upgrade() {
+ post_install "$1"
+}