Mihnea Saracin 3d5e021578 Add debian package for k8s-pod-recovery
- Built the package
- Built the iso
- Verified if the package was installed correctly

Story: 2009101
Task: 43697
Change-Id: Id10c87f9a24329b533864411075e096f56dbcd8b
Signed-off-by: Mihnea Saracin <Mihnea.Saracin@windriver.com>
2021-11-08 12:16:39 +02:00

14 lines
305 B
Bash

#!/bin/sh
# see: dh_installdeb(1)
set -e
if [ "${1}" = "remove" ] || [ "${1}" = "upgrade" || [ "${1}" = "deconfigure" ]; then
/usr/bin/systemctl stop k8s-pod-recovery.service > /dev/null 2>&1 || :
/usr/bin/systemctl disable k8s-pod-recovery.service > /dev/null 2>&1 || :
fi
#DEBHELPER#
exit 0