summarylogtreecommitdiffstats
path: root/python-agent-rtfm-bin.install
blob: 3d20289dd9720fb727e9b16b49d4764f5f76643f (plain)
1
2
3
4
5
6
7
8
9
10
11
post_install() {
    if ! python -c "from rtfm.cli import cli" 2>/dev/null; then
        echo "WARNING: rtfm failed to import. Your system may need a full upgrade:"
        echo "  sudo pacman -Syu"
        echo "This typically happens when shared libraries (abseil-cpp, grpcio) are out of sync."
    fi
}

post_upgrade() {
    post_install
}