summarylogtreecommitdiffstats
path: root/chromebook_keyboard_backlight_driver.install
blob: 75c8c0be63d8090ec49b96913258eb8e280f84b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

post_install() {
    source /usr/share/makepkg/util/message.sh
    colorize
    msg2 "$(gettext "The 'backlight' variant was not installed (this is normal).")"
    msg2 "$(gettext "If needed, grab it from ./src/chromebook_keyboard_backlight_driver/_output/*/")"
    depmod -a
    modprobe -r cros_kbd_led_backlight || :
    modprobe chromebook_kb_backlight
    modprobe chromeos_keyboard_leds
    msg2 "$(gettext "You may need to restart for changes to take effect")"
}

post_upgrade() {
    post_install
}

# vim:ft=sh