Create empty data directory in test profile

This prevents the data directory migration prompt from showing up if
there's an existing data directory inside the Standalone profile.
This commit is contained in:
Dan Stillman 2015-04-12 20:28:50 -04:00
parent a0b3c1f6ac
commit 9511c43432

View file

@ -70,6 +70,9 @@ echo "$ZOTERO_UNIT_PATH" > "$PROFILE/extensions/zotero-unit@zotero.org"
makePath ZOTERO_PATH "`dirname "$CWD"`" makePath ZOTERO_PATH "`dirname "$CWD"`"
echo "$ZOTERO_PATH" > "$PROFILE/extensions/zotero@chnm.gmu.edu" echo "$ZOTERO_PATH" > "$PROFILE/extensions/zotero@chnm.gmu.edu"
# Create data directory
mkdir "$PROFILE/zotero"
cat <<EOF > "$PROFILE/prefs.js" cat <<EOF > "$PROFILE/prefs.js"
user_pref("extensions.autoDisableScopes", 0); user_pref("extensions.autoDisableScopes", 0);
user_pref("extensions.zotero.debug.log", $DEBUG); user_pref("extensions.zotero.debug.log", $DEBUG);