Commit 8f9def4a authored by kytv's avatar kytv
Browse files

Use a wrapper script to start Icedove

This will take care of ensuring that the "correct" profile directory is
used.
parent daa8497e
#!/bin/sh
set -e
set -u
ZSH_VERSION="${ZSH_VERSION:-}"
. gettext.sh
TEXTDOMAIN="tails"
export TEXTDOMAIN
PROFILE="${HOME}/.icedove/profile.default"
start_icedove() {
TMPDIR="${PROFILE}/tmp"
mkdir --mode=0700 -p "$TMPDIR"
export TMPDIR
if [ -z "$XAUTHORITY" ]; then
XAUTHORITY=~/.Xauthority
export XAUTHORITY
fi
unset SESSION_MANAGER
/usr/bin/icedove --class "Icedove" -profile "${PROFILE}" "${@}"
}
start_icedove "${@}"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment