summaryrefslogtreecommitdiffstats
path: root/config/chroot_local-hooks/09-torsocks-apps
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2015-11-30 11:55:37 +0000
committerintrigeri <intrigeri@boum.org>2015-11-30 11:55:37 +0000
commitd30e74ab959adbe05621b7ce7611669953554ee3 (patch)
tree8e6252deb42f3778ecd5de27cb3ce33b632fad50 /config/chroot_local-hooks/09-torsocks-apps
parent24f2ccd7d6d5f38fc6a552646f636854c843255d (diff)
09-torsocks-apps: make regexps a bit stricter.
Diffstat (limited to 'config/chroot_local-hooks/09-torsocks-apps')
-rwxr-xr-xconfig/chroot_local-hooks/09-torsocks-apps4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/chroot_local-hooks/09-torsocks-apps b/config/chroot_local-hooks/09-torsocks-apps
index f119ebb..de62521 100755
--- a/config/chroot_local-hooks/09-torsocks-apps
+++ b/config/chroot_local-hooks/09-torsocks-apps
@@ -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