summarylogtreecommitdiffstats
path: root/spice-gtk.install
diff options
context:
space:
mode:
Diffstat (limited to 'spice-gtk.install')
-rw-r--r--spice-gtk.install8
1 files changed, 8 insertions, 0 deletions
diff --git a/spice-gtk.install b/spice-gtk.install
new file mode 100644
index 000000000000..f788c95b5e48
--- /dev/null
+++ b/spice-gtk.install
@@ -0,0 +1,8 @@
+post_install() {
+# this is executed by make install, but doesn't work since setcap can only be run as root
+ setcap CAP_FOWNER=+ep /usr/lib/spice-client-glib-usb-acl-helper
+}
+
+post_upgrade() {
+ post_install
+}