X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/950850f63911d7f54f23e0699f820369b32a3532..70950d20ed240a9d0d09e2fb6a4c77376dd3e94e:/ikiwiki-update-wikilist?ds=sidebyside diff --git a/ikiwiki-update-wikilist b/ikiwiki-update-wikilist index a6425f011..56d6e0731 100755 --- a/ikiwiki-update-wikilist +++ b/ikiwiki-update-wikilist @@ -1,6 +1,6 @@ #!/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; @@ -30,6 +30,9 @@ while (<$list>) { $seen=1; push @lines, $_; } + else { + $changed=1; + } } else { push @lines, $_;