opensnitch/debian/python3-opensnitch-ui.postinst
2023-02-01 14:26:21 +01:00

18 lines
422 B
Bash
Executable file

#!/bin/sh
set -e
autostart_by_default()
{
if [ -f /etc/xdg/autostart -a ! -f /etc/xdg/autostart/opensnitch_ui.desktop ]; then
ln -s /usr/share/applications/opensnitch_ui.desktop /etc/xdg/autostart/
fi
}
autostart_by_default
if command -v gtk-update-icon-cache >/dev/null && test -f /usr/share/icons/hicolor/index.theme ; then
gtk-update-icon-cache --quiet /usr/share/icons/hicolor/
fi
#DEBHELPER#