Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37510639
en ru br
ALT Linux repos
S:4.1.0.3-alt3

Group :: System/Servers
RPM: x2goserver

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: x2goserver-fix-autoreq.patch
Download


diff --git a/X2Go/Config.pm b/X2Go/Config.pm
index 63a570a..2d4a663 100644
--- a/X2Go/Config.pm
+++ b/X2Go/Config.pm
@@ -52,7 +52,7 @@ sub get_config {
 sub get_sqlconfig {
 	if (! defined $SqlConfig) {
 		$SqlConfig = new Config::Simple(syntax=>'ini');
-		$SqlConfig->read('/etc/x2go/x2gosql/sql' );
+		$SqlConfig->read("$ENV{'RPM_BUILD_ROOT'}" . '/etc/x2go/x2gosql/sql' );
 	}
 	return $SqlConfig;
 }
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin