Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tails
tails
Commits
d30e74ab
Commit
d30e74ab
authored
Nov 30, 2015
by
intrigeri
Browse files
09-torsocks-apps: make regexps a bit stricter.
parent
24f2ccd7
Changes
1
Hide whitespace changes
Inline
Side-by-side
config/chroot_local-hooks/09-torsocks-apps
View file @
d30e74ab
...
...
@@ -8,12 +8,12 @@ APPS="gobby-0.5 liferea seahorse"
DBUS_SERVICES
=
"org.gnome.seahorse.Application"
for
app
in
$APPS
;
do
sed
-i
''
--regexp-extended
's,Exec=(.*),Exec=torsocks \1,'
\
sed
-i
''
--regexp-extended
's,
^
Exec=(.*),Exec=torsocks \1,'
\
"/usr/share/applications/
${
app
}
.desktop"
done
for
dbus_service
in
$DBUS_SERVICES
;
do
sed
-i
''
--regexp-extended
's,Exec=(.*),Exec=torsocks \1,'
\
sed
-i
''
--regexp-extended
's,
^
Exec=(.*),Exec=torsocks \1,'
\
"/usr/share/dbus-1/services/
${
dbus_service
}
.service"
done
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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