#!/bin/bash

if [ "$1" -eq 0 ] && [ -x "/usr/lib/systemd/systemd-update-helper" ]; then
	# Package removal, not upgrade
	/usr/lib/systemd/systemd-update-helper remove-system-units frankenphp.service || :
fi
