spacewalk/setup/lib/Spacewalk/Setup.pm | 9 --------- 1 file changed, 9 deletions(-)
New commits: commit a6a5fe147be4014fe42ae80a5814817818da2842 Author: Jan Pazdziora jpazdziora@redhat.com Date: Tue Jan 11 15:30:23 2011 +0100
Creating empty file is not that useful, dropping.
Introduced in 0fb889cc5fa4aac97a9cea1925b27c7e6d6ba8d9 but it was not printing to that file anyway, the useless print was removed in 6540cad4f45278873506997d570914588b85cd7e. Now we won't even create the file.
diff --git a/spacewalk/setup/lib/Spacewalk/Setup.pm b/spacewalk/setup/lib/Spacewalk/Setup.pm index 55f23cb..cff1bcf 100644 --- a/spacewalk/setup/lib/Spacewalk/Setup.pm +++ b/spacewalk/setup/lib/Spacewalk/Setup.pm @@ -33,8 +33,6 @@ Version 1.1
our $VERSION = '1.1';
-use constant SATELLITE_SYSCONFIG => "/etc/sysconfig/rhn-satellite"; - use constant SHARED_DIR => "/usr/share/spacewalk/setup";
use constant POSTGRESQL_SCHEMA_FILE => File::Spec->catfile("/etc", "sysconfig", @@ -944,13 +942,6 @@ sub oracle_setup_embedded_db { $answers->{'db-protocol'} = 'TCP'; }
- # create DB_SERVICE entry in /etc/sysconfig/rhn-satellite - if (! -e SATELLITE_SYSCONFIG) { - open(S, '>>', SATELLITE_SYSCONFIG) - or die loc("Could not open '%s' file: %s\n", SATELLITE_SYSCONFIG, $!); - close(S); - } -
if ($opts->{'upgrade'}) { printf loc(<<EOQ, DB_UPGRADE_LOG_FILE);
spacewalk-commits@lists.fedorahosted.org