[Pkg-mozext-commits] [adblock-plus] 45/464: Adding updateURL to development builds
David Prévot
taffit at moszumanska.debian.org
Tue Jul 22 20:44:00 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository adblock-plus.
commit 38e0189c27394e4c7d4f61e134579a024cbeb199
Author: Wladimir Palant <trev at adblockplus.org>
Date: Fri Jul 10 00:47:38 2009 +0200
Adding updateURL to development builds
---
Packager.pm | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/Packager.pm b/Packager.pm
index b6c1ab6..9be7c66 100644
--- a/Packager.pm
+++ b/Packager.pm
@@ -107,6 +107,11 @@ sub cp
$_ = $loc;
}
+ if ($self->{devbuild} && $fromFile =~ /\binstall\.rdf$/ && /^(\s*)<em:version>/)
+ {
+ $_ .= "$1<em:updateURL>https://adblockplus.org/devbuilds/update.rdf</em:updateURL>\n";
+ }
+
$_ = $self->{postprocess_line}->($fromFile, $_) if exists $self->{postprocess_line};
$_;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/adblock-plus.git
More information about the Pkg-mozext-commits
mailing list