summaryrefslogtreecommitdiff
path: root/community/picocom/picocom.install
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-08-14 00:02:20 +0000
committerroot <root@rshg054.dnsready.net>2012-08-14 00:02:20 +0000
commita36c4a33891932acf2ac1cdebbb9caed01d7df6f (patch)
tree43ba215e412fc3ce04b316dd929467bfac0c8078 /community/picocom/picocom.install
parent07a52495b8a64f14843878d6116151fbdb6deefb (diff)
Tue Aug 14 00:02:20 UTC 2012
Diffstat (limited to 'community/picocom/picocom.install')
-rw-r--r--community/picocom/picocom.install19
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: