summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMartin Väth <martin@mvath.de>2010-06-13 09:22:29 +0200
committerMartin Väth <martin@mvath.de>2015-10-11 10:45:33 +0200
commitc41e278458c241393acc5bc0d52d1d9c988193ab (patch)
tree7979f08810f5808d0f8f5ffd5c1a6ac32465ee05 /eclass
parentBump noscript. Make mv_mozextension more robust. Remove untested arches (diff)
downloadmv-c41e278458c241393acc5bc0d52d1d9c988193ab.tar.gz
mv-c41e278458c241393acc5bc0d52d1d9c988193ab.tar.bz2
mv-c41e278458c241393acc5bc0d52d1d9c988193ab.zip
Add fillform, form-history-control, xclear. Cleanup URLs. Generalize eclass
Diffstat (limited to 'eclass')
-rw-r--r--eclass/mv_mozextension.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/mv_mozextension.eclass b/eclass/mv_mozextension.eclass
index 3ce0627d..49e5b773 100644
--- a/eclass/mv_mozextension.eclass
+++ b/eclass/mv_mozextension.eclass
@@ -168,7 +168,7 @@ xpi_install () {
x="${1}"
cd -- "${x}"
# determine id for extension
- emid="$(sed -n -e '/install-manifest/,$ { /<\?em:id>\?/!d; /{.*}/!d; s/.*\([\"{].*[}\"]\).*/\1/; s/\"//g; p; q }' "${x}"/install.rdf)" \
+ emid="$(sed -n -e '/install-manifest/,$ { /em:id/!d; s/.*[\">]\([^\"<>]*\)[\"<].*/\1/; p; q }' "${x}"/install.rdf)" \
&& [ -n "${emid}" ] || die "failed to determine extension id"
insinto "${MOZILLA_FIVE_HOME}/extensions/${emid}"
doins -r "${x}"/* || die "failed to copy extension"