opensnitch/ui/debian/postinst
Gustavo Iñiguez Goia b626e3fea2 bump nftables dependency version, packaging changes
- Bump nftable version to depend on latest version with fixes.
- Include opensnitch-dns.o eBPF object when creating the deb package.
- Replaced Suggests by Recommends, to install addtional but not
  essential packages (like python3-pyasnc, and others).
- Added python3-grpcio, python3-protobuf and python3-slugify as
  dependencies.
  For systems without these packages, we'll use the old debian/ dir.
2022-05-04 18:36:50 +02:00

19 lines
443 B
Bash
Executable file

#!/bin/sh
set -e
for i in $(ls /home)
do
if grep -q /home/$i /etc/passwd ; then
path=/home/$i/.config/autostart/
if [ ! -d $path ]; then
mkdir -p $path
fi
if [ -f /usr/share/applications/opensnitch_ui.desktop ];then
ln -s /usr/share/applications/opensnitch_ui.desktop $path 2>/dev/null || true
fi
fi
done
gtk-update-icon-cache /usr/share/icons/hicolor/ || true
set +e