The following should do the trick (will require thorough testing): $ cat debian/yaru-theme-gtk.postinst #!/bin/sh
set -e # When first installing yaru-theme-gtk (i.e. when upgrading from bionic), # remove the communitheme snap if present (https://launchpad.net/bugs/1792604). if [ "$1" = configure -a -z "$2" ]; then snap remove communitheme || true fi #DEBHELPER# ** Changed in: yaru-theme (Ubuntu) Assignee: (unassigned) => Olivier Tilloy (osomon) ** Changed in: yaru-theme (Ubuntu) Status: New => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1792604 Title: Installing yaru should try to remove the communitheme snap To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/yaru-theme/+bug/1792604/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
