summarylogtreecommitdiffstats
path: root/keysharp.install
blob: d9f4f0dfe1ef82aab24e97c781acdefdf22317b8 (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
28
29
## arg 1:  the new package version
post_install() {
  # Run install script
  # Don't install deps, done through pacman deps instead
  sudo INSTALL_DEPS=0 "/usr/share/keysharp/install.sh"

}

## arg 1:  the new package version
## arg 2:  the old package version
pre_upgrade() {
  # Run uninstall script
  # Don't install deps, done through pacman deps instead
  sudo INSTALL_DEPS=0 "/usr/share/keysharp/uninstall.sh"
}
## arg 1:  the new package version
## arg 2:  the old package version
post_upgrade() {
  # Run install script
  # Don't install deps, done through pacman deps instead
  sudo INSTALL_DEPS=0 "/usr/share/keysharp/install.sh"
}

## arg 1:  the old package version
pre_remove() {
  # Run uninstall script
  # Don't install deps, done through pacman deps instead
  sudo INSTALL_DEPS=0 "/usr/share/keysharp/uninstall.sh"
}