summaryrefslogtreecommitdiff
path: root/debian.libreoffice/ishtar-libreoffice.postinst
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2023-10-11 11:48:35 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2025-08-20 10:42:39 +0200
commitfd57af98e2fe888989f8c4b36c5649ac30644419 (patch)
tree49ee0b1953392e457baa0e7a47a65bee4ab6f7d7 /debian.libreoffice/ishtar-libreoffice.postinst
parent323a985e595b1678d407da184a16b85d36fa126f (diff)
downloadIshtar-fd57af98e2fe888989f8c4b36c5649ac30644419.tar.bz2
Ishtar-fd57af98e2fe888989f8c4b36c5649ac30644419.zip
🚀 Debian package: ishtar-libreoffice
Diffstat (limited to 'debian.libreoffice/ishtar-libreoffice.postinst')
-rw-r--r--debian.libreoffice/ishtar-libreoffice.postinst20
1 files changed, 20 insertions, 0 deletions
diff --git a/debian.libreoffice/ishtar-libreoffice.postinst b/debian.libreoffice/ishtar-libreoffice.postinst
new file mode 100644
index 000000000..2ec25275f
--- /dev/null
+++ b/debian.libreoffice/ishtar-libreoffice.postinst
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+set -e
+
+case "$1" in
+ configure)
+ systemctl daemon-reload
+ systemctl enable libreoffice
+ systemctl start libreoffice
+ ;;
+
+ abort-upgrade|abort-remove|abort-deconfigure)
+
+ ;;
+
+ *)
+ echo "postinst called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac \ No newline at end of file