aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-08-10 14:38:56 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2015-08-10 14:38:56 +0200
commit198f88fc20a95a3145a77f6110aa91c8387930e3 (patch)
treef031a16798693e115708a396e307ca3d75bbc1d6
parenta78bfa0e281953d3757ad3fd428d6b3ef8245b58 (diff)
downloadaports-198f88fc20a95a3145a77f6110aa91c8387930e3.tar.bz2
aports-198f88fc20a95a3145a77f6110aa91c8387930e3.tar.xz
main/chrony: add pre-upgrade script
-rw-r--r--main/chrony/APKBUILD4
l---------main/chrony/chrony.pre-upgrade1
2 files changed, 3 insertions, 2 deletions
diff --git a/main/chrony/APKBUILD b/main/chrony/APKBUILD
index 79d9171c81..ae46d8317c 100644
--- a/main/chrony/APKBUILD
+++ b/main/chrony/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=chrony
pkgver=2.1.1
-pkgrel=3
+pkgrel=4
_ver=${pkgver/_/-}
pkgdesc="NTP client and server programs"
url="http://chrony.tuxfamily.org/"
@@ -9,7 +9,7 @@ pkgusers="$pkgname"
pkggroups="$pkgname"
arch="all"
license="GPL2"
-install="$pkgname.pre-install"
+install="$pkgname.pre-install $pkgname.pre-upgrade"
depends=""
makedepends="libcap-dev texinfo"
subpackages="$pkgname-doc"
diff --git a/main/chrony/chrony.pre-upgrade b/main/chrony/chrony.pre-upgrade
new file mode 120000
index 0000000000..ff5c83698b
--- /dev/null
+++ b/main/chrony/chrony.pre-upgrade
@@ -0,0 +1 @@
+chrony.pre-install \ No newline at end of file