post_install() {
if [ "pacman" = "debian" ] && [ "$1" != "configure" ]; then
exit 0
fi
echo "** initializing cache. This may take a while **"
apt-show-versions -i
exit 0
}
pre_remove() {
if [ "pacman" = "debian" ] && [ "$1" != "remove" ]; then
exit 0
fi
rm -rf /data/data/com.termux/files/usr/var/cache/apt-show-versions
exit 0
}
