summarylogtreecommitdiffstats
path: root/lexmark-e260-pxl-install.sh
blob: 77d1cba2d515082fe07421ed694310f3331c5c32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
_script='/usr/share/lexmark-e260-pxl/lexmark-e260-pxl.sh'

post_install() {
  set -u
  /usr/bin/bash "${_script}"
  set +u
}

pre_remove() {
  set -u
  echo 'Removing Lexmark patch'
  /usr/bin/bash "${_script}" -R
  set +u
}

pre_upgrade() {
  pre_remove
}

post_upgrade() {
  post_install
}