summaryrefslogtreecommitdiff
path: root/community/picocom/picocom.install
blob: aab48bdc7fc7c41c632a74f3aa9a0072a11ff058 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# vim:set ts=2 sw=2 ft=sh et:

## arg 1:  the new package version
post_install() {
  type -P systemd-tmpfiles >/dev/null && systemd-tmpfiles --create picocom.conf
}

# arg 1:  the new package version
# arg 2:  the old package version
post_upgrade() {
  post_install "$1"
}

## arg 1:  the old package version
post_remove() {
 type -P systemd-tmpfiles >/dev/null && systemd-tmpfiles --clean --remove picocom.conf
}