Made sure, installation and uninstallation work seemlessly

This commit is contained in:
Cametendo
2026-05-04 09:47:42 +02:00
parent c65fd63fd9
commit 0b7a8b4d41
11 changed files with 41 additions and 6 deletions

9
cflash.install Normal file
View File

@@ -0,0 +1,9 @@
pre_install() {
echo "Cleaning up legacy /usr/local files..."
rm -f /usr/local/bin/cflash
rm -rf /usr/local/lib/cflash
}
pre_upgrade() {
pre_install
}