[arch-commits] Commit in picocom/trunk (PKGBUILD picocom.install)
Sébastien Luttringer
seblu at nymeria.archlinux.org
Sun Oct 20 22:35:02 UTC 2013
Date: Monday, October 21, 2013 @ 00:35:02
Author: seblu
Revision: 98868
upgpkg: picocom 1.7-3
- fix FS#37352
- fix call to type in install file
Modified:
picocom/trunk/PKGBUILD
picocom/trunk/picocom.install
-----------------+
PKGBUILD | 4 ++--
picocom.install | 8 +++-----
2 files changed, 5 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-10-20 21:44:18 UTC (rev 98867)
+++ PKGBUILD 2013-10-20 22:35:02 UTC (rev 98868)
@@ -4,7 +4,7 @@
pkgname=picocom
pkgver=1.7
-pkgrel=2
+pkgrel=3
pkgdesc='Minimal dumb-terminal emulation program, very much like minicom'
url='http://code.google.com/p/picocom/'
license=('GPL2')
@@ -16,7 +16,7 @@
build() {
cd $pkgname-$pkgver
- make --environment-overrides UUCP_LOCK_DIR=/run/lock/picocom
+ make UUCP_LOCK_DIR=/run/lock/picocom
}
package() {
Modified: picocom.install
===================================================================
--- picocom.install 2013-10-20 21:44:18 UTC (rev 98867)
+++ picocom.install 2013-10-20 22:35:02 UTC (rev 98868)
@@ -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 @@
## 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:
More information about the arch-commits
mailing list