[Pkg-mozext-commits] [requestpolicy] 72/80: change the addon's "name" for the off-AMO version

David Prévot taffit at moszumanska.debian.org
Sun Jul 5 15:02:32 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository requestpolicy.

commit ca60d54cfa3d89ab6fd9253fe85fabf5f71f06b2
Author: Martin Kimmerle <dev at 256k.de>
Date:   Tue Jun 30 00:21:22 2015 +0200

    change the addon's "name" for the off-AMO version
    
    The AMO page says:
    ```
    This name is already in use. Please choose another.
    ```
    Therefore the name had to be changed.
---
 Makefile        | 4 ++++
 src/install.rdf | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 2cd4233..fc540af 100644
--- a/Makefile
+++ b/Makefile
@@ -17,6 +17,9 @@ extension_name := requestpolicy
 amo__extension_id     := rpcontinued at requestpolicy.org
 off_amo__extension_id := rpcontinued at non-amo.requestpolicy.org
 
+amo__extension_name     := RequestPolicy Continued
+off_amo__extension_name := RequestPolicy Continued Beta
+
 
 # ____________________________________
 # generating XPIs -- general variables
@@ -395,6 +398,7 @@ $(amo__other_files): $$(patsubst $$(amo__build_path)%,$$(source_path)%,$$@)
 	@if [[ "$(notdir $@)" == "install.rdf" ]]; then \
 	  echo 'using `sed` on install.rdf !' ; \
 	  sed -i s/$(off_amo__extension_id)/$(amo__extension_id)/ $@ ; \
+	  sed -i 's/$(off_amo__extension_name)/$(amo__extension_name)/' $@ ; \
 	fi
 
 $(amo__root_files): $$(patsubst $$(amo__build_path)%,%,$$@)
diff --git a/src/install.rdf b/src/install.rdf
index dc2d624..c5d07b0 100644
--- a/src/install.rdf
+++ b/src/install.rdf
@@ -4,7 +4,7 @@
   xmlns:em="http://www.mozilla.org/2004/em-rdf#">
 
   <Description about="urn:mozilla:install-manifest">
-    <em:name>RequestPolicy Continued</em:name>
+    <em:name>RequestPolicy Continued Beta</em:name>
     <em:version>1.0.beta10</em:version>
     <em:type>2</em:type>
     <em:id>rpcontinued at non-amo.requestpolicy.org</em:id>

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/requestpolicy.git



More information about the Pkg-mozext-commits mailing list