summaryrefslogtreecommitdiff
path: root/extra/ntp
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-03-03 00:01:37 +0000
committerroot <root@rshg054.dnsready.net>2012-03-03 00:01:37 +0000
commitd8fb549de0ef3299436c448f7b45fd8ebee8e733 (patch)
tree67a769fed7e632a9cc92478bcb7dd4e59dc22641 /extra/ntp
parentb479098a1b8d7cb545339cb225a7cde4988b2748 (diff)
Sat Mar 3 00:01:37 UTC 2012
Diffstat (limited to 'extra/ntp')
-rw-r--r--extra/ntp/PKGBUILD4
-rw-r--r--extra/ntp/install3
2 files changed, 5 insertions, 2 deletions
diff --git a/extra/ntp/PKGBUILD b/extra/ntp/PKGBUILD
index 9b4d97908..23eff69f3 100644
--- a/extra/ntp/PKGBUILD
+++ b/extra/ntp/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 151695 2012-02-29 21:30:41Z bisson $
+# $Id: PKGBUILD 151736 2012-03-01 21:37:06Z bisson $
# Maintainer: Gaetan Bisson <bisson@archlinux.org>
# Contributor: kevin <kevin@archlinux.org>
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')
diff --git a/extra/ntp/install b/extra/ntp/install
index 7581ec12f..e6eddf8a4 100644
--- a/extra/ntp/install
+++ b/extra/ntp/install
@@ -25,6 +25,9 @@ EOF
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() {