Files
aitbc/cli/debian/DEBIAN/prerm
oib ccedbace53 chore: remove configuration files and enhance blockchain explorer with advanced search, analytics, and export features
- Delete .aitbc.yaml.example CLI configuration template
- Delete .lycheeignore link checker exclusion rules
- Delete .nvmrc Node.js version specification
- Add advanced search panel with filters for address, amount range, transaction type, time range, and validator
- Add analytics dashboard with transaction volume, active addresses, and block time metrics
- Add Chart.js integration
2026-03-02 15:38:25 +01:00

27 lines
543 B
Bash
Executable File

#!/bin/bash
set -e
# Pre-removal script for aitbc-cli
case "$1" in
remove|upgrade|failed-upgrade)
# Remove symlink
if [ -L "/usr/local/bin/aitbc" ]; then
rm -f /usr/local/bin/aitbc
fi
# Remove virtual environment (optional, keep data)
# VENV_PATH="/opt/aitbc/venv"
# if [ -d "$VENV_PATH" ]; then
# rm -rf "$VENV_PATH"
# fi
;;
disappear)
# Package is being removed
rm -f /usr/local/bin/aitbc
;;
esac
exit 0