#!/bin/sh

#
# Copyright 2018 Cumulus Networks, Inc.
# All rights reserved.
#

# post-rm script for cumulus-image

# bail out on any errors
set -e

command="$1"
old_version="$2"

if [ "$command" = "remove" -o "$command" = "purge" ] ; then
    # Update the initramfs as we have removed files that used to go
    # into the initramfs.
    update-initramfs -u
fi

# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.

#DEBHELPER#
