#!/bin/sh # Run any steps that should occur after the snap is refreshed here. # Note that we use || true to ignore permission denied errors. cp -f "$SNAP/resources/99-livepatch-kernel-upgrade-required" /etc/update-motd.d/99-livepatch-kernel-upgrade-required || true