Skip to content

Commit

Permalink
Leave image files on disk after uninstall
Browse files Browse the repository at this point in the history
So they can be persisted between uninstall/reinstalls
  • Loading branch information
Shamus03 committed Jun 6, 2023
1 parent 68e8a5f commit 7e19b3f
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/DEBIAN/postrm
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
if [ "$1" = "purge" -a -e /usr/share/debconf/confmodule ]; then
. /usr/share/debconf/confmodule
db_purge
rm -rf /opt/nasa-apod-background
else
rm -rf /opt/nasa-apod-background/api.key
rm -rf /opt/nasa-apod-background/cron.log
rm -rf /opt/nasa-apod-background/logrotate.config
rm -rf /opt/nasa-apod-background/nasa-apod-background.fish
rm -rf /opt/nasa-apod-background/oldlogs
fi

rm -rf /opt/nasa-apod-background

0 comments on commit 7e19b3f

Please sign in to comment.