X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/12c5786df4e74c143f24398b8d0028000b61daba..c2ac80b185a2a1487f739c310a8ddb03028da2ca:/ikiwiki-update-wikilist diff --git a/ikiwiki-update-wikilist b/ikiwiki-update-wikilist index a6425f011..2807e6be6 100755 --- a/ikiwiki-update-wikilist +++ b/ikiwiki-update-wikilist @@ -1,6 +1,7 @@ #!/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. +no lib '.'; use warnings; use strict; use English; @@ -30,6 +31,9 @@ while (<$list>) { $seen=1; push @lines, $_; } + else { + $changed=1; + } } else { push @lines, $_;