#!/bin/bash

## Copyright (C) 2012 - 2025 ENCRYPTED SUPPORT LLC <adrelanos@whonix.org>
## See the file COPYING for copying conditions.

if [ -f /usr/libexec/helper-scripts/pre.bsh ]; then
   source /usr/libexec/helper-scripts/pre.bsh
fi

set -e

update-alternatives --install /usr/bin/x-www-browser x-www-browser /usr/libexec/open-link-confirmation/open-link-confirmation 105
update-alternatives --install /usr/bin/gnome-www-browser gnome-www-browser /usr/libexec/open-link-confirmation/open-link-confirmation 105

# Automatically added by dh_installdeb/13.24.2
dpkg-maintscript-helper rm_conffile /etc/open_link_confirm.d/31_open_link_confirmation -- "$@"
dpkg-maintscript-helper rm_conffile /etc/X11/Xsession.d/40open_link_confirmation -- "$@"
dpkg-maintscript-helper rm_conffile /etc/X11/Xsession.d/40open_link_confirmation_kde -- "$@"
# End automatically added section

