From b758be1d37cb49ced8cb17fca3d5a4cb2dd2e03e Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Mon, 6 Jul 2015 19:21:04 +0000 Subject: Bug 1172968: Move the scripts we want to keep from contrib/* and place them in scripts/ directory. Remove contrib from repo --- Bugzilla/JobQueue/Runner.pm | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'Bugzilla/JobQueue') diff --git a/Bugzilla/JobQueue/Runner.pm b/Bugzilla/JobQueue/Runner.pm index d45c36647..0dec85d74 100644 --- a/Bugzilla/JobQueue/Runner.pm +++ b/Bugzilla/JobQueue/Runner.pm @@ -103,14 +103,9 @@ sub gd_usage { sub gd_can_install { my $self = shift; - my $source_file; - if ( -e "/etc/SuSE-release" ) { - $source_file = "contrib/$initscript.suse"; - } else { - $source_file = "contrib/$initscript.rhel"; - } - my $dest_file = "$initd/$initscript"; - my $sysconfig = '/etc/sysconfig'; + my $source_file = "scripts/$initscript.rhel"; + my $dest_file = "$initd/$initscript"; + my $sysconfig = '/etc/sysconfig'; my $config_file = "$sysconfig/$initscript"; if (!-x $chkconfig or !-d $initd) { -- cgit v1.2.3-24-g4f1b