summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-12-08 19:50:27 +0000
committerMike Frysinger <vapier@gentoo.org>2012-12-08 19:50:27 +0000
commit76c102872fce59704d1d9c7998c80d5cb214ae38 (patch)
tree3366e469fce0ebe6af8fbf14b35bb7f577e4e732 /sys-fs/quota
parentDrop unused switches. Add arm everywhere where at missed. force due to unupda... (diff)
downloadgentoo-2-76c102872fce59704d1d9c7998c80d5cb214ae38.tar.gz
gentoo-2-76c102872fce59704d1d9c7998c80d5cb214ae38.tar.bz2
gentoo-2-76c102872fce59704d1d9c7998c80d5cb214ae38.zip
Use POSIX tests in init.d scripts #446279 by Julian Ospald.
(Portage version: 2.2.0_alpha144/cvs/Linux x86_64, signed Manifest commit with key FB7C4156)
Diffstat (limited to 'sys-fs/quota')
-rw-r--r--sys-fs/quota/ChangeLog8
-rw-r--r--sys-fs/quota/files/quota.rc66
-rw-r--r--sys-fs/quota/files/quota.rc76
3 files changed, 12 insertions, 8 deletions
diff --git a/sys-fs/quota/ChangeLog b/sys-fs/quota/ChangeLog
index 488ac67265bf..0680c553ac17 100644
--- a/sys-fs/quota/ChangeLog
+++ b/sys-fs/quota/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-fs/quota
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/quota/ChangeLog,v 1.61 2011/12/04 16:48:58 vapier Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/quota/ChangeLog,v 1.62 2012/12/08 19:50:27 vapier Exp $
+
+ 08 Dec 2012; Mike Frysinger <vapier@gentoo.org> files/quota.rc6,
+ files/quota.rc7:
+ Use POSIX tests in init.d scripts #446279 by Julian Ospald.
04 Dec 2011; Mike Frysinger <vapier@gentoo.org> quota-4.00.ebuild:
Depend on SLOT 1.1 of libnl #393065 by Justin Lecher.
diff --git a/sys-fs/quota/files/quota.rc6 b/sys-fs/quota/files/quota.rc6
index 4c1875fed873..75e6e80ca0fb 100644
--- a/sys-fs/quota/files/quota.rc6
+++ b/sys-fs/quota/files/quota.rc6
@@ -1,7 +1,7 @@
#!/sbin/runscript
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License, v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/quota/files/quota.rc6,v 1.3 2005/08/17 00:27:50 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/quota/files/quota.rc6,v 1.4 2012/12/08 19:50:27 vapier Exp $
depend() {
need localmount
@@ -9,7 +9,7 @@ depend() {
}
start() {
- if [[ ${RUN_QUOTACHECK} == "yes" ]] ; then
+ if [ "${RUN_QUOTACHECK}" = "yes" ] ; then
ebegin "Checking quotas (may take a while)"
/usr/sbin/quotacheck ${QUOTACHECK_OPTS}
eend $?
diff --git a/sys-fs/quota/files/quota.rc7 b/sys-fs/quota/files/quota.rc7
index 9fd2d900cd2e..23f8c1536560 100644
--- a/sys-fs/quota/files/quota.rc7
+++ b/sys-fs/quota/files/quota.rc7
@@ -1,7 +1,7 @@
#!/sbin/runscript
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License, v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/quota/files/quota.rc7,v 1.1 2011/03/03 07:26:27 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/quota/files/quota.rc7,v 1.2 2012/12/08 19:50:27 vapier Exp $
extra_started_commands="check"
description_check="Running quotacheck with quota being offline"
@@ -12,7 +12,7 @@ depend() {
}
start() {
- if [[ ${RUN_QUOTACHECK} == "yes" ]] ; then
+ if [ "${RUN_QUOTACHECK}" = "yes" ] ; then
ebegin "Checking quotas (may take a while)"
quotacheck ${QUOTACHECK_OPTS}
eend $?