summaryrefslogtreecommitdiffstats
path: root/config/chroot_local-hooks/09-torsocks-apps
diff options
context:
space:
mode:
Diffstat (limited to 'config/chroot_local-hooks/09-torsocks-apps')
-rwxr-xr-xconfig/chroot_local-hooks/09-torsocks-apps9
1 files changed, 1 insertions, 8 deletions
diff --git a/config/chroot_local-hooks/09-torsocks-apps b/config/chroot_local-hooks/09-torsocks-apps
index e7440a5..484068a 100755
--- a/config/chroot_local-hooks/09-torsocks-apps
+++ b/config/chroot_local-hooks/09-torsocks-apps
@@ -4,9 +4,8 @@ set -e
echo "Wrapping some applications with torsocks"
-APPS="gobby-0.5 net.sourceforge.liferea openpgp-applet seahorse"
+APPS="openpgp-applet seahorse"
DBUS_SERVICES="org.gnome.seahorse.Application org.fedoraproject.Config.Printing"
-WRAPPED_DBUS_SERVICES="net.sourceforge.liferea"
for app in $APPS; do
sed -i'' --regexp-extended 's,^Exec=(.*),Exec=torsocks \1,' \
@@ -18,12 +17,6 @@ for dbus_service in $DBUS_SERVICES; do
"/usr/share/dbus-1/services/${dbus_service}.service"
done
-# Wrapped by both torsocks and a binary in /usr/local
-for dbus_service in $WRAPPED_DBUS_SERVICES; do
- sed -i'' --regexp-extended 's,^Exec=/usr/(.*),Exec=/usr/bin/torsocks /usr/local/\1,' \
- "/usr/share/dbus-1/services/${dbus_service}.service"
-done
-
# Redirect to existing wrapper
sed -i'' --regexp-extended 's,^Exec=pidgin$,Exec=/usr/local/bin/pidgin,' \
"/usr/share/applications/pidgin.desktop"