diff options
Diffstat (limited to 'community/picocom/picocom.install')
-rw-r--r-- | community/picocom/picocom.install | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/community/picocom/picocom.install b/community/picocom/picocom.install index 4d2f2ed48..aab48bdc7 100644 --- a/community/picocom/picocom.install +++ b/community/picocom/picocom.install @@ -1,8 +1,8 @@ -#!/bin/sh +# vim:set ts=2 sw=2 ft=sh et: ## arg 1: the new package version post_install() { - type systemd-tmpfiles >/dev/null && systemd-tmpfiles --create picocom.conf + type -P systemd-tmpfiles >/dev/null && systemd-tmpfiles --create picocom.conf } # arg 1: the new package version @@ -13,7 +13,5 @@ post_upgrade() { ## arg 1: the old package version post_remove() { - type systemd-tmpfiles >/dev/null && systemd-tmpfiles --clean --remove picocom.conf + type -P systemd-tmpfiles >/dev/null && systemd-tmpfiles --clean --remove picocom.conf } - -# vim:set ts=2 sw=2 ft=sh et: |