Commit 1f735b32 authored by intrigeri's avatar intrigeri

Refactoring: use existing variable instead of hard-coding it again.

parent 212b62c4
......@@ -3,6 +3,9 @@
set -e
set -u
# Import the TBB_PROFILE variable
. /usr/local/lib/tails-shell-library/tor-browser.sh
USER_PROFILE="${HOME}/.tor-browser"
if [ -e "${USER_PROFILE}" ]; then
......@@ -11,4 +14,4 @@ if [ -e "${USER_PROFILE}" ]; then
fi
mkdir -p "${USER_PROFILE}"
cp -a /etc/tor-browser/profile "${USER_PROFILE}"/profile.default
cp -a "${TBB_PROFILE}" "${USER_PROFILE}"/profile.default
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