Files
omarchy-pkgs/pkgbuilds/cursor-cli/cursor-cli.install
T

20 lines
411 B
Plaintext

# shellcheck shell=bash
post_install() {
post_upgrade "$@"
}
post_upgrade() {
cat << 'EOF'
==> cursor-agent updates are managed by your package manager.
==> If a previous install allowed the CLI to self-update,
clean up the leftover files:
rm -f ~/.local/bin/cursor-agent
chmod +x ~/.local/share/cursor-agent/versions/ 2>/dev/null
rm -rf ~/.local/share/cursor-agent/versions/
EOF
}