mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-09 00:17:31 +00:00
alarm/kodi-rpi-git: mods to kodi.install
This commit is contained in:
parent
77b1b3454c
commit
277a8f48fe
1 changed files with 14 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
post_install() {
|
||||
_message() {
|
||||
echo "-> Remove any tweaks made to /boot/config.txt now!"
|
||||
echo "-> This includes lines such as gpu_mem=..."
|
||||
echo "-> Add the following to /boot/config.txt or else kodi will not work."
|
||||
|
@ -6,6 +6,19 @@ post_install() {
|
|||
echo " include kodi.config.txt"
|
||||
}
|
||||
|
||||
post_install() {
|
||||
_config=/boot/config.txt
|
||||
if [ -f "$_config" ]; then
|
||||
if ! grep -q 'include kodi.config.txt' "$_config"; then
|
||||
_message
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
echo "==> Optionally remove /var/lib/kodi/"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue