X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from mail-we0-f181.google.com (mail-we0-f181.google.com [74.125.82.181]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 6C3C3DC0167 for ; Fri, 29 Nov 2013 13:02:59 +0000 (UTC) Received: by mail-we0-f181.google.com with SMTP id x55so9232310wes.40 for ; Fri, 29 Nov 2013 05:02:56 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id; bh=s0uBkF9lSi11+p8WSsxh82jtYsI9SavCJrXCHI8MsmI=; b=do3dtec1SIFVIvoRIIAbe3IxgKL/4VOksCCdr4fKxMCadmgMuJ4ulrPuaafivvdtJW W4fYFrEQQrMV2zbkFrh6avp2ZOVtuMaWUJsGx1PbkkFgzvIZwNgjXEKSvgVnSLNWZwaZ BGAYO9mzQHzAPpcZVINGcx/S6niXM0TF5rs5r3FBQ9V91dZyvqhfSKsanReJseBldxvv Xs2gd9CZMVj2Ed0YBsZPSs3mDxZwjn3SZyiduvnQgFvCY5v4i7IQGEiTGgKevKQHpyg8 ZBDYpER3SZCEA7VIxkzvFIEqsP/Gi2eME3q3Lrwrddk1poZo9jNauIABa5CKaih3yEiw JxEA== X-Gm-Message-State: ALoCoQkWYmNpjuZcp/bH/I49bYRYeMjnweYuilGtH/pbRUu/RmjCbocwKdVYyx8eht9jnKhsKDpX X-Received: by 10.194.89.233 with SMTP id br9mr40830513wjb.15.1385730176391; Fri, 29 Nov 2013 05:02:56 -0800 (PST) Received: from chlorine.members.linode.com (li677-23.members.linode.com. [88.80.184.23]) by mx.google.com with ESMTPSA id e10sm69927396wiy.7.2013.11.29.05.02.55 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 29 Nov 2013 05:02:55 -0800 (PST) From: Eivind Uggedal To: alpine-devel@lists.alpinelinux.org Subject: [alpine-devel] [PATCH] testing/bash-completion: remove conflicting files Date: Fri, 29 Nov 2013 13:02:43 +0000 Message-Id: <1385730163-27107-1-git-send-email-eivind@uggedal.com> X-Mailer: git-send-email 1.8.4.3 X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: remove some completion files conflicting with files provided upstream from util-linux and networkmanager. --- testing/bash-completion/APKBUILD | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/testing/bash-completion/APKBUILD b/testing/bash-completion/APKBUILD index fcd11f6494f4..ac8d8c834315 100644 --- a/testing/bash-completion/APKBUILD +++ b/testing/bash-completion/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: pkgname=bash-completion pkgver=2.1 -pkgrel=0 +pkgrel=1 pkgdesc="Command-line tab-completion for bash" url="http://bash-completion.alioth.debian.org/" arch="noarch" @@ -14,6 +14,26 @@ install="" source="http://ftp.debian.org/debian/pool/main/b/bash-completion/${pkgname}_${pkgver}.orig.tar.bz2" _builddir="$srcdir"/$pkgname-$pkgver + +# Provided with util-linux and networkmanager: +_conflicting=" + cal + chsh + dmesg + eject + hd + hexdump + hwclock + ionice + look + ncal + newgrp + renice + rtcwake + su + nmcli + " + prepare() { local i cd "$_builddir" @@ -35,6 +55,11 @@ build() { package() { cd "$_builddir" make -j1 DESTDIR="$pkgdir" install || return 1 + + cd "$pkgdir"/usr/share/bash-completion/completions + for c in $_conflicting; do + rm $c + done } md5sums="4e2a9f11a4042a38ee79ddcd048e8b9e bash-completion_2.1.orig.tar.bz2" -- 1.8.4.3 --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---