mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
30 lines
604 B
Text
30 lines
604 B
Text
|
_message() {
|
||
|
cat <<END
|
||
|
>>> Manually add your user to the following groups: video and tty
|
||
|
example: usermod -a -G tty,video yourusername
|
||
|
|
||
|
>>> Manually append the following to /boot/config.txt to load correct drivers:
|
||
|
[all]
|
||
|
include vlc.config.txt
|
||
|
|
||
|
>>> A reboot will be required to activate them
|
||
|
END
|
||
|
}
|
||
|
|
||
|
post_install() {
|
||
|
_config=/boot/config.txt
|
||
|
if [ -f "$_config" ]; then
|
||
|
if ! grep -q 'include vlc.config.txt' "$_config"; then
|
||
|
_message
|
||
|
fi
|
||
|
fi
|
||
|
}
|
||
|
|
||
|
post_upgrade() {
|
||
|
post_install
|
||
|
}
|
||
|
|
||
|
post_remove() {
|
||
|
echo "==> Optionally remove the modifications you made to /boot/config.txt"
|
||
|
}
|