summaryrefslogtreecommitdiff
path: root/community/picocom/picocom.install
blob: 4d2f2ed480fbbda759e20e335664fb14681c5934 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh

## arg 1:  the new package version
post_install() {
  type 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 systemd-tmpfiles >/dev/null && systemd-tmpfiles --clean --remove picocom.conf
}

# vim:set ts=2 sw=2 ft=sh et: