[vim-scripts] 05/11: debian/vim-scripts.pl: Remove logged ip address from downloaded documentation.
James McCoy
jamessan at debian.org
Thu Aug 15 04:03:10 UTC 2013
This is an automated email from the git hooks/post-receive script.
jamessan pushed a commit to branch master
in repository vim-scripts.
commit ea2a65df5323d913d8f4bdb8e414715749868684
Author: James McCoy <jamessan at debian.org>
Date: Wed Aug 14 22:47:05 2013 -0400
debian/vim-scripts.pl: Remove logged ip address from downloaded documentation.
---
debian/changelog | 2 ++
debian/vim-scripts.pl | 3 ++-
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 01bfad3..7029950 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,8 @@ vim-scripts (20121008) UNRELEASED; urgency=low
- bufexplorer: Updated to 7.3.3
* Add po-escape.diff to properly escape filenames when calling msgfmt.
(Closes: #697135)
+ * debian/vim-scripts.pl: Remove logged ip address from downloaded
+ documentation.
-- James McCoy <jamessan at debian.org> Thu, 17 Jan 2013 21:32:43 -0500
diff --git a/debian/vim-scripts.pl b/debian/vim-scripts.pl
index d71f843..27443f6 100755
--- a/debian/vim-scripts.pl
+++ b/debian/vim-scripts.pl
@@ -152,7 +152,8 @@ while (my $line = <STATUS>) {
} elsif ($action eq "doc" and $script_url) {
my $fname = $script_name;
$fname =~ s/\//_/g;
- system "wget -nv -O html/$fname.html '$script_url'";
+ system 'wget', '-nv', '-O', "html/$fname.html", $script_url;
+ system 'sed', '-i', '-e', '/ip used for rating/d', "html/$fname.html";
} elsif ($action eq "update" and $script_url) {
my ($upstream_version, $upstream_date, $download_url) =
@{parse_script_page($script_url)};
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-vim/vim-scripts.git
More information about the pkg-vim-maintainers
mailing list