summarylogtreecommitdiffstats
path: root/thunderbird
diff options
context:
space:
mode:
Diffstat (limited to 'thunderbird')
-rw-r--r--thunderbird18
1 files changed, 18 insertions, 0 deletions
diff --git a/thunderbird b/thunderbird
new file mode 100644
index 000000000000..0877d3ae6826
--- /dev/null
+++ b/thunderbird
@@ -0,0 +1,18 @@
+if [[ -d "$HOME"/.thunderbird ]]; then
+ index=0
+ PSNAME="$browser"
+ while read -r profileItem; do
+ if [[ $(echo "$profileItem" | cut -c1) = "/" ]]; then
+ # path is not relative
+ DIRArr[$index]="$profileItem"
+ else
+ # we need to append the default path to give a
+ # fully qualified path
+ DIRArr[$index]="$HOME/.thunderbird/$profileItem"
+ fi
+ (( index=index+1 ))
+ done < <(grep '[Pp]'ath= "$HOME"/.thunderbird/profiles.ini | sed 's/[Pp]ath=//')
+fi
+
+check_suffix=1
+