[arch-commits] Commit in ntp/trunk (PKGBUILD install)
Gaetan Bisson
bisson at archlinux.org
Thu Mar 1 21:35:26 UTC 2012
Date: Thursday, March 1, 2012 @ 16:35:25
Author: bisson
Revision: 151735
fix /var/lib/ntp perms
Modified:
ntp/trunk/PKGBUILD
ntp/trunk/install
----------+
PKGBUILD | 2 +-
install | 3 +++
2 files changed, 4 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2012-03-01 20:07:28 UTC (rev 151734)
+++ PKGBUILD 2012-03-01 21:35:25 UTC (rev 151735)
@@ -5,7 +5,7 @@
pkgname=ntp
pkgver=4.2.6.p5
_realver=4.2.6p5
-pkgrel=5
+pkgrel=6
pkgdesc='Network Time Protocol reference implementation'
url='http://www.ntp.org/'
license=('custom')
Modified: install
===================================================================
--- install 2012-03-01 20:07:28 UTC (rev 151734)
+++ install 2012-03-01 21:35:25 UTC (rev 151735)
@@ -25,6 +25,9 @@
if [[ $(vercmp $2 4.2.6.p5-3) -le 0 ]]; then
post_install
fi
+ if [[ $(vercmp $2 4.2.6.p5-5) -le 0 ]]; then
+ chown -R ntp /var/lib/ntp
+ fi
}
post_remove() {
More information about the arch-commits
mailing list