Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
StuveFAU
mailverteiler
Commits
581e51b8
Commit
581e51b8
authored
Nov 02, 2018
by
Lorena
Browse files
newlist.pl: add stuve-admins as default owner
parent
e1c32329
Changes
1
Hide whitespace changes
Inline
Side-by-side
newlist.pl
View file @
581e51b8
...
...
@@ -8,6 +8,8 @@ use warnings;
use
Text::
Template
;
my
$default_owner
=
'
stuve-admins@fau.de
';
my
$listname
=
$ARGV
[
0
];
if
(
not
defined
(
$listname
))
{
...
...
@@ -22,11 +24,11 @@ my $tmpl = Text::Template->new(TYPE => "FILE", SOURCE => 'newlist.tmpl');
open
(
my
$TARGET
,
"
>
$target
")
or
die
$!
;
my
$owner
;
print
"
owner >
";
print
"
owner
(default:
\"
$default_owner
\"
)
>
";
chomp
(
$owner
=
<
STDIN
>
);
$owner
=~
s/ ?[,;\/] ?/','/g
;
$owner
or
$owner
=
$default_owner
;
my
$description
;
print
"
description >
";
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment