X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2Fcreate_sysop.pl;h=622bc05656052a05edb19b2c30daf5839d7fb3dc;hb=c3505bcfc922cd712bad2c20b3479cf8d1dc54fe;hp=fbfc776481c3b65a92e1f656706a12253fc68831;hpb=75b16c6079349ca89bd37a8ee28f368c421f06ea;p=spider.git diff --git a/perl/create_sysop.pl b/perl/create_sysop.pl index fbfc7764..622bc056 100755 --- a/perl/create_sysop.pl +++ b/perl/create_sysop.pl @@ -6,7 +6,7 @@ # # Copyright (c) 1998 Dirk Koopman G1TLH # -# $Id$ +# # # make sure that modules are searched in the order local then perl @@ -69,13 +69,14 @@ sub create_it $self->{dxok} = 1; $self->{annok} = 1; $self->{lang} = 'en'; + $self->{group} = [qw(local #9000)]; # write it away $self->close(); } -$lockfn = "$root/perl/cluster.lck"; # lock file name +$lockfn = "$root/local/cluster.lck"; # lock file name if (-e $lockfn) { open(CLLOCK, "$lockfn") or die "Can't open Lockfile ($lockfn) $!"; my $pid = ; @@ -84,7 +85,9 @@ if (-e $lockfn) { close CLLOCK; } -if (-e "$userfn") { +$DXUser::v3 = 1; + +if (-e "$userfn.v2" || -e "$userfn.v3") { print "Do you wish to destroy your user database (THINK!!!) [y/N]: "; $ans = ; if ($ans =~ /^[Yy]/) {