#!/bin/sh
# One-click uninstall: the container was removed in preuninst. Just clean
# up our saved config. Data under /var/packages/kvdownload/var is kept.
PKG_NAME="kvdownload"
PORT_CONFIG_FILE="/var/packages/${PKG_NAME}/etc/port_config"

if [ "${SYNOPKG_PKG_STATUS}" = "UNINSTALL" ]; then
    rm -f "${PORT_CONFIG_FILE}"
fi
exit 0
