summarylogtreecommitdiffstats
path: root/gummy.install
blob: ae6f40d85e9034f675e145678d62a1791de3080a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
post_install() {
  echo
  echo 'gummy uses the i2c protocol to control external screen backlight'
  echo 'to gain this functionality:'
  echo '  - load the `i2c-dev` kernel module if needed'
  echo '  <https://wiki.archlinux.org/title/I2C#Module_loading>'
  echo '  - add your user to the `i2c` group'
  echo '  <https://wiki.archlinux.org/title/Users_and_groups#Group_management>'
  echo '  # sudo usermod --append --groups i2c <username>'
  echo
  echo 'reboot is generally required after installing or upgrading gummy'
  echo
}

post_upgrade() {
  post_install
}