summarylogtreecommitdiffstats
path: root/readme.install
diff options
context:
space:
mode:
authorfrancoism902021-07-19 12:00:09 +0200
committerfrancoism902021-07-19 12:00:09 +0200
commitc4b69c0538f907ae14cdc3f9bdc7ab71b67cfff9 (patch)
tree430364cc03a9eaa32879075b263f86b95caf862c /readme.install
downloadaur-c4b69c0538f907ae14cdc3f9bdc7ab71b67cfff9.tar.gz
Initial commit
Diffstat (limited to 'readme.install')
-rw-r--r--readme.install18
1 files changed, 18 insertions, 0 deletions
diff --git a/readme.install b/readme.install
new file mode 100644
index 000000000000..2ebe0f9b0662
--- /dev/null
+++ b/readme.install
@@ -0,0 +1,18 @@
+post_remove() {
+ echo "--> Optionally remove /var/lib/kodi/ if you wish to remove all data too."
+}
+
+post_install() {
+ echo "--> Optionally create /etc/conf.d/kodi-standalone if you need to pass"
+ echo "--> any environment variables to the service."
+ post_upgrade
+}
+
+post_upgrade() {
+ if find /etc/systemd/system -type l -name 'kodi.service'|grep . &>/dev/null; then
+ echo '--> kodi.service is now kodi-x11.service'
+ echo '--> manually disable the old one and enable the new one'
+ fi
+}
+
+# vim:set ts=2 sw=2 et: