summarylogtreecommitdiffstats
path: root/tuxedo-control-center-bin.install
diff options
context:
space:
mode:
authorSteven Seifried2021-08-08 16:20:47 +0200
committerSteven Seifried2021-08-08 16:20:47 +0200
commit3a4f17b90d4f42fcd2265c0146a736d1a416fce4 (patch)
treee1a03b43500c55310daf1a3597e76242fb0a7367 /tuxedo-control-center-bin.install
downloadaur-3a4f17b90d4f42fcd2265c0146a736d1a416fce4.tar.gz
initial commit
Diffstat (limited to 'tuxedo-control-center-bin.install')
-rw-r--r--tuxedo-control-center-bin.install14
1 files changed, 14 insertions, 0 deletions
diff --git a/tuxedo-control-center-bin.install b/tuxedo-control-center-bin.install
new file mode 100644
index 000000000000..b6e3635fd83f
--- /dev/null
+++ b/tuxedo-control-center-bin.install
@@ -0,0 +1,14 @@
+post_install() {
+ systemctl daemon-reload
+ systemctl enable --now tccd
+ systemctl enable --now tccd-sleep
+}
+
+post_upgrade() {
+ post_install
+}
+
+pre_remove() {
+ systemctl disable tccd
+ systemctl disable tccd-sleep
+} \ No newline at end of file