desktop-chat-app/scripts/postremove.sh
Lilith efffde48cd feat(startup): add service startup screen and launcher scripts
Add visual startup screen showing service initialization progress:
- ServiceStartupScreen displays each service's startup status
- ServiceManager gains extended service state tracking
- Launcher scripts for desktop integration and post-install hooks

Scripts:
- chat-launcher.sh: Desktop entry launcher with wayland fallback
- postinstall.sh: Create desktop entry and symlink
- postremove.sh: Cleanup desktop entry and symlink

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-28 20:25:01 -08:00

20 lines
465 B
Bash
Executable file

#!/bin/bash
# Lilith AI Desktop Chat - Post-removal script
# Called by dpkg after package removal
set -e
CLI_TARGET="/usr/local/bin/chat"
# Remove the chat command symlink
if [[ -L "$CLI_TARGET" ]]; then
rm -f "$CLI_TARGET"
echo "Removed 'chat' command from $CLI_TARGET"
fi
# Update desktop database if available
if command -v update-desktop-database &> /dev/null; then
update-desktop-database /usr/share/applications 2>/dev/null || true
fi
exit 0