Photos
Blog
Projects
vanrenterghem.biz
projects
/
git.ikiwiki.info.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
close debian bug I opened about blogspam
[git.ikiwiki.info.git]
/
ikiwiki-update-wikilist
diff --git
a/ikiwiki-update-wikilist
b/ikiwiki-update-wikilist
index a6425f011c6a7e04c281cdfe8f70094d302818e5..56d6e07319094dcc77d8fea283bcdf4b0b0b734d 100755
(executable)
--- a/
ikiwiki-update-wikilist
+++ b/
ikiwiki-update-wikilist
@@
-1,6
+1,6
@@
#!/usr/bin/perl -t
# Add a user to the system wide wikilist.
#!/usr/bin/perl -t
# Add a user to the system wide wikilist.
-# This script can safely be made suid.
+# This script can safely be made suid
or put in /etc/sudoers
.
use warnings;
use strict;
use English;
use warnings;
use strict;
use English;
@@
-30,6
+30,9
@@
while (<$list>) {
$seen=1;
push @lines, $_;
}
$seen=1;
push @lines, $_;
}
+ else {
+ $changed=1;
+ }
}
else {
push @lines, $_;
}
else {
push @lines, $_;