Commit daeb26cd authored by intrigeri's avatar intrigeri
Browse files

Adjust to the move of /etc/gnome/defaults.list in Stretch.

I'm not sure we can override existing entries via /etc/xdg/gnome-mimeapps.list,
without forking the entire original file. Let's see. At least it should fix the
ISO build.

refs: #11440
parent 9080b9e8
......@@ -234,4 +234,7 @@ chmod -R a+rX "${TBB_INSTALL}" "${TBB_PROFILE}" "${TBB_EXT}"
# Make the Tor Browser into the system's default web browser
update-alternatives --install /usr/bin/x-www-browser x-www-browser /usr/local/bin/tor-browser 99
update-alternatives --install /usr/bin/gnome-www-browser gnome-www-browser /usr/local/bin/tor-browser 99
sed -i 's/\<iceweasel\.desktop\>/tor-browser.desktop/' /etc/gnome/defaults.list
sed 's/\<iceweasel\.desktop\>/tor-browser.desktop/' \
/usr/share/applications/gnome-mimeapps.list \
> /etc/xdg/gnome-mimeapps.list
chmod 644 /etc/xdg/gnome-mimeapps.list
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