public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: app-admin/abrt/files/
@ 2016-05-18  6:42 Austin English
  0 siblings, 0 replies; 2+ messages in thread
From: Austin English @ 2016-05-18  6:42 UTC (permalink / raw
  To: gentoo-commits

commit:     4eed3bbee5d9c63598b9428acff5ad700bed4986
Author:     Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Wed May 18 06:38:01 2016 +0000
Commit:     Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Wed May 18 06:38:34 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4eed3bbe

app-admin/abrt: use #!/sbin/openrc-run instead of #!/sbin/runscript

 app-admin/abrt/files/abrt-2.0.12-r1-init | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-admin/abrt/files/abrt-2.0.12-r1-init b/app-admin/abrt/files/abrt-2.0.12-r1-init
index b3e5743..e9a644c 100644
--- a/app-admin/abrt/files/abrt-2.0.12-r1-init
+++ b/app-admin/abrt/files/abrt-2.0.12-r1-init
@@ -1,4 +1,4 @@
-#!/sbin/runscript
+#!/sbin/openrc-run
 # Copyright 1999-2012 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-admin/abrt/files/
@ 2017-07-09  1:05 Andrew Savchenko
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Savchenko @ 2017-07-09  1:05 UTC (permalink / raw
  To: gentoo-commits

commit:     1c834f0e057e989ac80782ad2985a97658957121
Author:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
AuthorDate: Sun Jul  9 00:45:46 2017 +0000
Commit:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
CommitDate: Sun Jul  9 01:05:20 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c834f0e

app-admin/abrt: fix bug 609126

Fix init script to be sh-compatible.

Package-Manager: Portage-2.3.6, Repoman-2.3.2
Signed-off-by: Andrew Savchenko <bircoph <AT> gentoo.org>

 app-admin/abrt/files/abrt-2.0.12-r1-init | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/app-admin/abrt/files/abrt-2.0.12-r1-init b/app-admin/abrt/files/abrt-2.0.12-r1-init
index fd67bb0f3f7..3fb32b7c3e4 100644
--- a/app-admin/abrt/files/abrt-2.0.12-r1-init
+++ b/app-admin/abrt/files/abrt-2.0.12-r1-init
@@ -1,5 +1,5 @@
 #!/sbin/openrc-run
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 description="Automated crash detection service"
@@ -14,19 +14,19 @@ start() {
 		--exec /usr/sbin/abrtd -- ${ABRTD_OPTS}
 	eend $?
 
-	if [[ "${START_VMCORE}" = "yes" ]]; then
+	if [ "${START_VMCORE}" = "yes" ]; then
 		ebegin "Running abrt-harvest-vmcore"
 		/usr/sbin/abrt-harvest-vmcore
 		eend $?
 	fi
 
-	if [[ "${START_CCPP}" = "yes" ]]; then
+	if [ "${START_CCPP}" = "yes" ]; then
 		ebegin "Installing abrt-ccpp hook"
 		/usr/sbin/abrt-install-ccpp-hook install
 		eend $?
 	fi
 
-	if [[ "${START_OOPS}" = "yes" ]]; then
+	if [ "${START_OOPS}" = "yes" ]; then
 		ebegin "Starting abrt-dump-oops"
 		start-stop-daemon --start --quiet \
 			--pidfile /var/run/abrt/abrt-dump-oops.pid \
@@ -37,7 +37,7 @@ start() {
 		eend $?
 	fi
 
-	if [[ "${START_XORG}" = "yes" ]]; then
+	if [ "${START_XORG}" = "yes" ]; then
 		ebegin "Starting abrt-dump-xorg"
 		start-stop-daemon --start --quiet \
 			--pidfile /var/run/abrt/abrt-dump-xorg.pid \
@@ -50,21 +50,21 @@ start() {
 }
 
 stop() {
-	if [[ "${START_XORG}" = "yes" ]]; then
+	if [ "${START_XORG}" = "yes" ]; then
 		ebegin "Stopping abrt-dump-xorg"
 		start-stop-daemon --stop --quiet \
 			--pidfile /var/run/abrt/abrt-dump-xorg.pid
 		eend $?
 	fi
 
-	if [[ "${START_OOPS}" = "yes" ]]; then
+	if [ "${START_OOPS}" = "yes" ]; then
 		ebegin "Stopping abrt-dump-oops"
 		start-stop-daemon --stop --quiet \
 			--pidfile /var/run/abrt/abrt-dump-oops.pid
 		eend $?
 	fi
 
-	if [[ "${START_CCPP}" = "yes" ]]; then
+	if [ "${START_CCPP}" = "yes" ]; then
 		ebegin "Uninstalling abrt-ccpp hook"
 		/usr/sbin/abrt-install-ccpp-hook uninstall
 		eend $?


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-07-09  1:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-09  1:05 [gentoo-commits] repo/gentoo:master commit in: app-admin/abrt/files/ Andrew Savchenko
  -- strict thread matches above, loose matches on Subject: below --
2016-05-18  6:42 Austin English

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox