summarylogtreecommitdiffstats
path: root/readme.install
diff options
context:
space:
mode:
authorgraysky2016-06-08 09:38:17 -0400
committergraysky2016-06-08 09:38:17 -0400
commitc6a2497a8542e603992c1c962783fff7dc255550 (patch)
tree9f5950d6d06bf947302f5ea890dd9a459d72b1ac /readme.install
parentefb3ebd72b90465cfce9dad16aea4a1c7b9a7c97 (diff)
downloadaur-c6a2497a8542e603992c1c962783fff7dc255550.tar.gz
Update to 1.8-3
Diffstat (limited to 'readme.install')
-rw-r--r--readme.install33
1 files changed, 27 insertions, 6 deletions
diff --git a/readme.install b/readme.install
index 941b8d7fb9c..92a5cf9d6c2 100644
--- a/readme.install
+++ b/readme.install
@@ -8,6 +8,15 @@ post_install() {
mkdir /var/lib/kodi/.kodi &&
chown -R kodi:kodi /var/lib/kodi/.kodi
fi
+
+ if [[ -f /usr/lib/xorg/modules/drivers/ati_drv.so ]]; then
+ echo "It has been reported that users of the open source ATI driver"
+ echo "MAY need to create /etc/X11/Xwrapper.config for this package"
+ echo "to work properly."
+ echo .
+ echo "This file should contain the following line:"
+ echo "needs_root_rights = yes"
+ fi
}
post_upgrade() {
@@ -49,11 +58,23 @@ post_remove() {
}
pre_install() {
- /usr/bin/systemctl status xbmc.service &>/dev/null
- if [[ $? -eq 0 ]]; then
- # xbmc is running via this service
- /usr/bin/systemctl stop xbmc.service &>/dev/null
- else
- /bin/true
+ if [ -f /usr/lib/systemd/system/xbmc.service]; then
+ /usr/bin/systemctl status xbmc.service &>/dev/null
+ if [[ $? -eq 0 ]]; then
+ # xbmc is running via this service
+ /usr/bin/systemctl stop xbmc.service &>/dev/null
+ else
+ /bin/true
+ fi
+ fi
+
+ if [ -f /usr/lib/systemd/system/kodi.service]; then
+ /usr/bin/systemctl status kodi.service &>/dev/null
+ if [[ $? -eq 0 ]]; then
+ # kodi is running via this service
+ /usr/bin/systemctl stop kodi.service &>/dev/null
+ else
+ /bin/true
+ fi
fi
}