Change "SVN" references to "source"
This commit is contained in:
parent
af5f526ad1
commit
7a5024df6e
|
@ -434,7 +434,7 @@ Zotero.Schema = new function(){
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Update styles and translators in data directory with versions from
|
* Update styles and translators in data directory with versions from
|
||||||
* ZIP file (XPI) or directory (SVN) in extension directory
|
* ZIP file (XPI) or directory (source) in extension directory
|
||||||
*
|
*
|
||||||
* @param {String} [mode] 'translators' or 'styles'
|
* @param {String} [mode] 'translators' or 'styles'
|
||||||
* @param {Boolean} [skipDeleteUpdated] Skip updating of the file deleting version --
|
* @param {Boolean} [skipDeleteUpdated] Skip updating of the file deleting version --
|
||||||
|
@ -507,7 +507,7 @@ Zotero.Schema = new function(){
|
||||||
|
|
||||||
var deleted = extDir.clone();
|
var deleted = extDir.clone();
|
||||||
deleted.append('deleted.txt');
|
deleted.append('deleted.txt');
|
||||||
// In SVN builds, deleted.txt is in the translators directory
|
// In source builds, deleted.txt is in the translators directory
|
||||||
if (!deleted.exists()) {
|
if (!deleted.exists()) {
|
||||||
deleted = extDir.clone();
|
deleted = extDir.clone();
|
||||||
deleted.append('translators');
|
deleted.append('translators');
|
||||||
|
@ -730,7 +730,7 @@ Zotero.Schema = new function(){
|
||||||
|
|
||||||
zipReader.close();
|
zipReader.close();
|
||||||
}
|
}
|
||||||
// SVN installation
|
// Source installation
|
||||||
else {
|
else {
|
||||||
var sourceDir = extDir.clone();
|
var sourceDir = extDir.clone();
|
||||||
sourceDir.append(modes);
|
sourceDir.append(modes);
|
||||||
|
@ -746,7 +746,7 @@ Zotero.Schema = new function(){
|
||||||
while (entries.hasMoreElements()) {
|
while (entries.hasMoreElements()) {
|
||||||
var file = entries.getNext();
|
var file = entries.getNext();
|
||||||
file.QueryInterface(Components.interfaces.nsIFile);
|
file.QueryInterface(Components.interfaces.nsIFile);
|
||||||
// File might not exist in an SVN build with style symlinks
|
// File might not exist in an source build with style symlinks
|
||||||
if (!file.exists()
|
if (!file.exists()
|
||||||
|| !file.leafName.match(fileNameRE)
|
|| !file.leafName.match(fileNameRE)
|
||||||
|| file.isDirectory()) {
|
|| file.isDirectory()) {
|
||||||
|
@ -759,7 +759,7 @@ Zotero.Schema = new function(){
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Don't attempt installation for SVN build with missing styles
|
// Don't attempt installation for source build with missing styles
|
||||||
if (!sourceFilesExist) {
|
if (!sourceFilesExist) {
|
||||||
Zotero.debug("No source " + mode + " files exist -- skipping update");
|
Zotero.debug("No source " + mode + " files exist -- skipping update");
|
||||||
return false;
|
return false;
|
||||||
|
|
|
@ -35,7 +35,7 @@ const ZOTERO_CONFIG = {
|
||||||
API_URL: 'https://api.zotero.org/',
|
API_URL: 'https://api.zotero.org/',
|
||||||
PREF_BRANCH: 'extensions.zotero.',
|
PREF_BRANCH: 'extensions.zotero.',
|
||||||
BOOKMARKLET_URL: 'https://www.zotero.org/bookmarklet/',
|
BOOKMARKLET_URL: 'https://www.zotero.org/bookmarklet/',
|
||||||
VERSION: "3.0b3.SVN"
|
VERSION: "3.0b3.SOURCE"
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
<em:id>zotero@chnm.gmu.edu</em:id>
|
<em:id>zotero@chnm.gmu.edu</em:id>
|
||||||
<em:name>Zotero</em:name>
|
<em:name>Zotero</em:name>
|
||||||
<em:version>3.0b2.SVN</em:version>
|
<em:version>3.0b2.SOURCE</em:version>
|
||||||
<em:creator>Center for History and New Media<br/>George Mason University</em:creator>
|
<em:creator>Center for History and New Media<br/>George Mason University</em:creator>
|
||||||
<em:contributor>Dan Cohen</em:contributor>
|
<em:contributor>Dan Cohen</em:contributor>
|
||||||
<em:contributor>Sean Takats</em:contributor>
|
<em:contributor>Sean Takats</em:contributor>
|
||||||
|
@ -17,9 +17,9 @@
|
||||||
<em:optionsURL>chrome://zotero/content/preferences/preferences.xul</em:optionsURL>
|
<em:optionsURL>chrome://zotero/content/preferences/preferences.xul</em:optionsURL>
|
||||||
<em:aboutURL>chrome://zotero/content/about.xul</em:aboutURL>
|
<em:aboutURL>chrome://zotero/content/about.xul</em:aboutURL>
|
||||||
<em:iconURL>chrome://zotero/skin/zotero_z_32px.png</em:iconURL>
|
<em:iconURL>chrome://zotero/skin/zotero_z_32px.png</em:iconURL>
|
||||||
<em:updateURL>https://www.zotero.org/download/update-svn.rdf</em:updateURL>
|
<em:updateURL>https://www.zotero.org/download/update-source.rdf</em:updateURL>
|
||||||
<em:type>2</em:type> <!-- type=extension -->
|
<em:type>2</em:type> <!-- type=extension -->
|
||||||
<em:unpack>true</em:unpack>
|
<em:unpack>true</em:unpack>
|
||||||
|
|
||||||
<!-- Firefox -->
|
<!-- Firefox -->
|
||||||
<em:targetApplication>
|
<em:targetApplication>
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
<RDF:Seq>
|
<RDF:Seq>
|
||||||
<RDF:li>
|
<RDF:li>
|
||||||
<RDF:Description>
|
<RDF:Description>
|
||||||
<version>3.0b2.SVN</version>
|
<version>3.0b2.SOURCE</version>
|
||||||
<targetApplication>
|
<targetApplication>
|
||||||
<RDF:Description>
|
<RDF:Description>
|
||||||
<id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</id>
|
<id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</id>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user