#!/bin/sh
# SPEC_712 PHASE C: the repo hygiene seed (SPEC_705's uninstall body
# merges into this file — ONE postrm per package, by dpkg's law).
# Purge removes the apt repo registration this package created; remove
# (non-purge) keeps it. Never touches $HOME: the uninstall data doctrine
# lives in the SPEC_705 consent-marker body that merges here.
set -e

SOURCES_LIST="/etc/apt/sources.list.d/openbloom.list"
KEYRING="/etc/apt/keyrings/openbloom.asc"

if [ "$1" = "purge" ]; then
    rm -f "$SOURCES_LIST" "$KEYRING"
fi

exit 0
