From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 5C9A91381F3 for ; Tue, 4 Dec 2012 21:11:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 29F4621C025; Tue, 4 Dec 2012 21:11:34 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 812AB21C025 for ; Tue, 4 Dec 2012 21:11:33 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7BAE033D931 for ; Tue, 4 Dec 2012 21:11:32 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 19E0CE5442 for ; Tue, 4 Dec 2012 21:11:31 +0000 (UTC) From: "Wim Muskee" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Wim Muskee" Message-ID: <1354655471.93d990e924c9f514da4dd4e00b131060924538f6.wim@gentoo> Subject: [gentoo-commits] proj/localepurge:master commit in: / X-VCS-Repository: proj/localepurge X-VCS-Files: localepurge X-VCS-Directories: / X-VCS-Committer: wim X-VCS-Committer-Name: Wim Muskee X-VCS-Revision: 93d990e924c9f514da4dd4e00b131060924538f6 X-VCS-Branch: master Date: Tue, 4 Dec 2012 21:11:31 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 52bb3d39-3895-4e08-964c-d8f63a502dd0 X-Archives-Hash: ef4b71b745a11459f3acc413e37738e4 commit: 93d990e924c9f514da4dd4e00b131060924538f6 Author: Wim Muskee gmail com> AuthorDate: Tue Dec 4 21:11:11 2012 +0000 Commit: Wim Muskee gmail com> CommitDate: Tue Dec 4 21:11:11 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/localepurge.git;a=commit;h=93d990e9 Make rm only use verbose option when verbose is selected. --- localepurge | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/localepurge b/localepurge index e2e5ee4..e2279ed 100755 --- a/localepurge +++ b/localepurge @@ -23,7 +23,7 @@ HILITE=$'\e[36;01m' BRACKET=$'\e[34;01m' BOLD=$'\e[1m' -ACTION="/bin/rm -vf" +ACTION="/bin/rm -f" eerror () { echo -e " ${BAD}*${NORMAL} $*" 2> /dev/stderr @@ -110,6 +110,7 @@ for x in $@; do elif [ "$x" = "-verbose" ] || [ "$x" = "-v" ]; then VERBOSE=enabled + ACTION="/bin/rm -vf" elif [ "$x" = "-version" ] ; then version