Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
tails
tails
Commits
1f735b32
Commit
1f735b32
authored
Jul 01, 2018
by
intrigeri
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Refactoring: use existing variable instead of hard-coding it again.
parent
212b62c4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
config/chroot_local-includes/usr/local/lib/generate-tor-browser-profile
...local-includes/usr/local/lib/generate-tor-browser-profile
+4
-1
No files found.
config/chroot_local-includes/usr/local/lib/generate-tor-browser-profile
View file @
1f735b32
...
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment