#!/bin/bash
# postinst-patch_apnc_access
echo "postinst-patch_apnc_access: $@"
PKG=${1}
upgradePath=${2:-"/"}
# Note that all container-update packages are subordinate to the master package version of "system.conf"
. ${upgradePath}/etc/system.conf 2>/dev/null

## handle orphaned resources ##
# twonky binaries
${upgradePath}/etc/wdcomp.d/upgrade/upgrade-patch_twonkymediaserver-hollow "${upgradePath}"

## store the current dlna pkg installation status info in upgrade cache
source ${pkg_upgrades_dir}/upgrade_utilities
bom_oldpkg

echo "postinst-patch_apnc_access: selecting dlna-server-access.."
touch ${pkg_upgrades_dir}/dms_select_access

exit 0
