diff options
author | root <root@rshg054.dnsready.net> | 2012-08-14 00:02:20 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-08-14 00:02:20 +0000 |
commit | a36c4a33891932acf2ac1cdebbb9caed01d7df6f (patch) | |
tree | 43ba215e412fc3ce04b316dd929467bfac0c8078 /community/picocom/picocom.install | |
parent | 07a52495b8a64f14843878d6116151fbdb6deefb (diff) |
Tue Aug 14 00:02:20 UTC 2012
Diffstat (limited to 'community/picocom/picocom.install')
-rw-r--r-- | community/picocom/picocom.install | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/community/picocom/picocom.install b/community/picocom/picocom.install new file mode 100644 index 000000000..4d2f2ed48 --- /dev/null +++ b/community/picocom/picocom.install @@ -0,0 +1,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: |