git » kinit.git » commit fdb6b11

Add missing file to svn (FS#69643)

author Antonio Rojas
2021-02-14 23:06:37 UTC
committer Antonio Rojas
2021-02-14 23:06:37 UTC
parent 747ddf188dcf5d28357046102aea34e28cfb3165

Add missing file to svn (FS#69643)

kinit.install +9 -0

diff --git a/kinit.install b/kinit.install
new file mode 100644
index 0000000..84284d7
--- /dev/null
+++ b/kinit.install
@@ -0,0 +1,9 @@
+post_install() {
+# this is executed by make install, but doesn't work since setcap can only be run as root
+  setcap CAP_SYS_RESOURCE=+ep /usr/lib/kf5/start_kdeinit
+}
+
+post_upgrade() {
+  post_install
+}
+