This made me even more happy to have moved to Debian 11 after 14 years of Ubuntu. Snap made me sick, then this. Not that I ever used Flatpack, apt and docker are good enough, but this is too much.
Unfortunately Ubuntu pushing Snap means that 3rd parties that would have produced debian-compatible packages before are now moving to just shipping snaps instead.
e.g. I went to install Slack the other day and saw they only have RPM and Snap options now, they removed the deb entirely from their site (but still mention it in their Linux-install instructions).
(And yeah, this could push me to the end of my 25+ years of debian usage, I could be tempted to switch over to NixOS.)
#!/bin/sh
if [ "$#" -eq 1 ]; then\
tmp_dir="$(mktemp -d)"
dpkg-deb -R "$1" "${tmp_dir}" && sed -i 's/libappindicator3-1/libayatana-appindicator3-1/g' "${tmp_dir}/DEBIAN/control" && dpkg-deb -b "${tmp_dir}" slack-fixed.deb
else
echo "Read it"
fiIt's version 4.29.129. No idea if it updates itself.