summarylogtreecommitdiffstats
path: root/snapd.install
blob: c15e589ed49dea1619f04cd794ce693d315da423 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
pre_remove() {
  /usr/lib/snapd/snap-mgmt --purge || :
  rm -f /etc/udev/rules.d/70-snap.*.rules || true
  rm -f /etc/dbus-1/system.d/snap.* || true
  rm -f /var/lib/snapd/system-key || true
}

post_upgrade() {
  # since 2.39+ void permission bits are 111 instead of 000
  chmod 111 /var/lib/snapd/void || true
}

# vim:set ts=2 sw=2 et: