X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2Fcreate_sysop.pl;h=622bc05656052a05edb19b2c30daf5839d7fb3dc;hb=82aac01bdf511916e98a71873950fb98a54440a0;hp=11673e3146f55694f654bd1b7771811e779d1fcf;hpb=83e360f5c54444dc63a14de5124ad0a78624bf5a;p=spider.git diff --git a/perl/create_sysop.pl b/perl/create_sysop.pl index 11673e31..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,6 +69,7 @@ sub create_it $self->{dxok} = 1; $self->{annok} = 1; $self->{lang} = 'en'; + $self->{group} = [qw(local #9000)]; # write it away $self->close(); @@ -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]/) {