summarylogtreecommitdiffstats
path: root/gummy.install
blob: 38578ede380b4ce45a5efa38e787d991059c2c12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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 gummy'
  echo
}

post_upgrade() {
  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 upgrading gummy'
  echo
}