projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
protect send_local_config from processing undef nodes
[spider.git]
/
perl
/
create_sysop.pl
diff --git
a/perl/create_sysop.pl
b/perl/create_sysop.pl
index 11673e3146f55694f654bd1b7771811e779d1fcf..622bc05656052a05edb19b2c30daf5839d7fb3dc 100755
(executable)
--- a/
perl/create_sysop.pl
+++ b/
perl/create_sysop.pl
@@
-6,7
+6,7
@@
#
# Copyright (c) 1998 Dirk Koopman G1TLH
#
#
# Copyright (c) 1998 Dirk Koopman G1TLH
#
-#
$Id$
+#
#
# make sure that modules are searched in the order local then perl
#
# 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->{dxok} = 1;
$self->{annok} = 1;
$self->{lang} = 'en';
+ $self->{group} = [qw(local #9000)];
# write it away
$self->close();
# write it away
$self->close();
@@
-84,7
+85,9
@@
if (-e $lockfn) {
close CLLOCK;
}
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 = <STDIN>;
if ($ans =~ /^[Yy]/) {
print "Do you wish to destroy your user database (THINK!!!) [y/N]: ";
$ans = <STDIN>;
if ($ans =~ /^[Yy]/) {