Group :: System/Servers
RPM: x2goserver
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: x2goserver-fix-autoreq.patch
Download
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;
}