#!/bin/bash
# Copyright (c) 2019 Synology Inc. All rights reserved.
. /var/packages/"${SYNOPKG_PKGNAME}"/scripts/pkg_utils
RestorePkgConf()
{
if [ -f "${UPGRADE_TMP_DIR}"/synomibclient.conf ]; then
Cp -pf "${UPGRADE_TMP_DIR}"/synomibclient.conf "${MIB_CONF_PATH}"
fi
}
RemoveUpgradeConfig()
{
Rm -rf "${UPGRADE_TMP_DIR}"
}
RestorePkgConf
RemoveUpgradeConfig
exit 0