From e6ab8cf5eb8cc9448af085b2bfc813aec614c22c Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Fri, 11 Nov 2016 06:39:57 +0000 Subject: replaces/conflicts --- common.sh | 10 ++++++++++ config-box-proton-base.PKGBUILD | 2 +- config-box-winston-base.PKGBUILD | 2 +- config-mgmt-certbot.PKGBUILD | 2 +- config-mgmt-etckeeper.PKGBUILD | 2 +- config-mgmt-pacman-mirrorlist-repomirror.PKGBUILD | 2 +- config-mgmt-users-base.PKGBUILD | 2 +- config-mgmt-uwsgi.PKGBUILD | 2 +- config-service-git.PKGBUILD | 2 +- config-service-myhostname.PKGBUILD | 2 +- config-service-projects.PKGBUILD | 2 +- config-service-repo.PKGBUILD | 2 +- config-service-wiki.PKGBUILD | 2 +- 13 files changed, 22 insertions(+), 12 deletions(-) diff --git a/common.sh b/common.sh index 371b557..97aaf0e 100644 --- a/common.sh +++ b/common.sh @@ -1,6 +1,16 @@ pkgrel=1 arch=(any) pkgname=$(basename "$BUILDFILE" .PKGBUILD) +case "$pkgname" in + config-mgmt-*) + replaces=(${pkgname/-mgmt-/-}) + conflicts=(${pkgname/-mgmt-/-}) + ;; + config-box-*) + replaces=(${pkgname/-box-/-}) + conflicts=(${pkgname/-box-/-}) + ;; +esac pkgver() { local oldpkgver oldpkgver_date oldpkgver_rel diff --git a/config-box-proton-base.PKGBUILD b/config-box-proton-base.PKGBUILD index 10e269d..713df7b 100644 --- a/config-box-proton-base.PKGBUILD +++ b/config-box-proton-base.PKGBUILD @@ -1,5 +1,5 @@ . ${BUILDFILE%/*}/common.sh -pkgver=20161106.2 +pkgver=20161111.9 package() { preamble diff --git a/config-box-winston-base.PKGBUILD b/config-box-winston-base.PKGBUILD index 67d9a8b..c408289 100644 --- a/config-box-winston-base.PKGBUILD +++ b/config-box-winston-base.PKGBUILD @@ -1,5 +1,5 @@ . ${BUILDFILE%/*}/common.sh -pkgver=20161106.5 +pkgver=20161111.1 package() { preamble diff --git a/config-mgmt-certbot.PKGBUILD b/config-mgmt-certbot.PKGBUILD index a5393a4..7546242 100644 --- a/config-mgmt-certbot.PKGBUILD +++ b/config-mgmt-certbot.PKGBUILD @@ -1,5 +1,5 @@ . ${BUILDFILE%/*}/common.sh -pkgver=20161106.6 +pkgver=20161111.1 package() { preamble diff --git a/config-mgmt-etckeeper.PKGBUILD b/config-mgmt-etckeeper.PKGBUILD index 61b60b7..ccf854e 100644 --- a/config-mgmt-etckeeper.PKGBUILD +++ b/config-mgmt-etckeeper.PKGBUILD @@ -1,5 +1,5 @@ . ${BUILDFILE%/*}/common.sh -pkgver=20161106.3 +pkgver=20161111.1 package() { preamble diff --git a/config-mgmt-pacman-mirrorlist-repomirror.PKGBUILD b/config-mgmt-pacman-mirrorlist-repomirror.PKGBUILD index 8c0391b..0318946 100644 --- a/config-mgmt-pacman-mirrorlist-repomirror.PKGBUILD +++ b/config-mgmt-pacman-mirrorlist-repomirror.PKGBUILD @@ -1,5 +1,5 @@ . ${BUILDFILE%/*}/common.sh -pkgver=20161106.2 +pkgver=20161111.4 provides=(pacman-mirrorlist) conflicts=(pacman-mirrorlist) diff --git a/config-mgmt-users-base.PKGBUILD b/config-mgmt-users-base.PKGBUILD index bc50ba8..b0dd54b 100644 --- a/config-mgmt-users-base.PKGBUILD +++ b/config-mgmt-users-base.PKGBUILD @@ -1,5 +1,5 @@ . ${BUILDFILE%/*}/common.sh -pkgver=20161106.2 +pkgver=20161111.4 package() { preamble diff --git a/config-mgmt-uwsgi.PKGBUILD b/config-mgmt-uwsgi.PKGBUILD index 634bcff..9c997b3 100644 --- a/config-mgmt-uwsgi.PKGBUILD +++ b/config-mgmt-uwsgi.PKGBUILD @@ -1,5 +1,5 @@ . ${BUILDFILE%/*}/common.sh -pkgver=20161106.2 +pkgver=20161111.5 package() { preamble diff --git a/config-service-git.PKGBUILD b/config-service-git.PKGBUILD index 689adfa..222357b 100644 --- a/config-service-git.PKGBUILD +++ b/config-service-git.PKGBUILD @@ -1,5 +1,5 @@ . ${BUILDFILE%/*}/common.sh -pkgver=20161106.2 +pkgver=20161111.1 package() { preamble diff --git a/config-service-myhostname.PKGBUILD b/config-service-myhostname.PKGBUILD index c13560b..921b7e7 100644 --- a/config-service-myhostname.PKGBUILD +++ b/config-service-myhostname.PKGBUILD @@ -1,5 +1,5 @@ . ${BUILDFILE%/*}/common.sh -pkgver=20161106.2 +pkgver=20161111.1 package() { preamble diff --git a/config-service-projects.PKGBUILD b/config-service-projects.PKGBUILD index d938140..de58af2 100644 --- a/config-service-projects.PKGBUILD +++ b/config-service-projects.PKGBUILD @@ -1,5 +1,5 @@ . ${BUILDFILE%/*}/common.sh -pkgver=20161106.2 +pkgver=20161111.1 package() { preamble diff --git a/config-service-repo.PKGBUILD b/config-service-repo.PKGBUILD index 4319b03..3e0ee48 100644 --- a/config-service-repo.PKGBUILD +++ b/config-service-repo.PKGBUILD @@ -1,5 +1,5 @@ . ${BUILDFILE%/*}/common.sh -pkgver=20161106.2 +pkgver=20161111.1 provides=(pacman-mirrorlist) conflicts=(pacman-mirrorlist) diff --git a/config-service-wiki.PKGBUILD b/config-service-wiki.PKGBUILD index c8809a3..6d2dd7f 100644 --- a/config-service-wiki.PKGBUILD +++ b/config-service-wiki.PKGBUILD @@ -1,5 +1,5 @@ . ${BUILDFILE%/*}/common.sh -pkgver=20161106.2 +pkgver=20161111.1 package() { preamble -- cgit v1.2.3