The branch, release/4.0.0.x has been updated via bad455edefdce83da6a1f3b42e6626030e8b82d2 (commit) from fb53bd9d0133a821a410e716d186a6b5c728fd29 (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 ----------------------------------------------------------------- commit bad455edefdce83da6a1f3b42e6626030e8b82d2 Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Date: Mon May 6 23:02:52 2013 +0200 Use make_path from File::Path in x2godbadmin to create user directory if not present. ----------------------------------------------------------------------- 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 72a4f4d..359a2f9 100644 --- a/debian/changelog +++ b/debian/changelog @@ -9,6 +9,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 b39c8cb..f8eea83 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; @@ -82,7 +83,7 @@ my $user="x2gouser"; { if (! -d "$dir" ) { - mkdir("$dir"); + make_path("$dir"); } if ( -e $dbfile) { @@ -342,7 +343,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).