[X2Go-Commits] x2goserver.git - build-baikal (branch) updated: 3.1.1.3-149-gea2dc32
X2Go dev team
git-admin at x2go.org
Fri Jan 3 20:53:21 CET 2014
The branch, build-baikal has been updated
via ea2dc32520bec21f39d05284270bb6f6b6b46e08 (commit)
from d82c2044f94705ba3884168b2b6f35066d5f0f8e (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
-----------------------------------------------------------------------
Summary of changes:
debian/changelog | 3 +++
x2goserver/sbin/x2godbadmin | 5 +++--
2 files changed, 6 insertions(+), 2 deletions(-)
The diff of changes is:
diff --git a/debian/changelog b/debian/changelog
index 6b2b0fd..825de8b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -61,6 +61,9 @@ x2goserver (4.0.0.2-0~x2go1) UNRELEASED; urgency=low
- Use x2gopath in Perl scripts to set the lib path. (Fixes: #103).
[ Mike Gabriel ]
+ * New upstream version (4.0.0.2):
+ - Use make_path from File::Path in x2godbadmin to create user directory if
+ not present.
/debian/control:
+ Let x2goserver bin:package depend on xfonts-base and fontconfig. (Fixes:
#163).
diff --git a/x2goserver/sbin/x2godbadmin b/x2goserver/sbin/x2godbadmin
index b0de568..5362905 100755
--- a/x2goserver/sbin/x2godbadmin
+++ b/x2goserver/sbin/x2godbadmin
@@ -22,6 +22,7 @@
use strict;
use Sys::Syslog qw( :standard :macros );
+use File::Path qw( make_path );
use Getopt::Long;
use Config::Simple;
use DBI;
@@ -81,7 +82,7 @@ my $user="x2gouser";
{
if (! -d "$dir" )
{
- mkdir("$dir");
+ make_path("$dir");
}
if ( -e $dbfile)
{
@@ -341,7 +342,7 @@ sub add_user()
if (! -d "$dir/.x2go" )
{
- mkdir("$dir/.x2go");
+ make_path("$dir/.x2go");
}
#save user password
hooks/post-receive
--
x2goserver.git (X2Go Server)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "x2goserver.git" (X2Go Server).
More information about the x2go-commits
mailing list