diff options
Diffstat (limited to 'cover-thumbnailer.install')
-rw-r--r-- | cover-thumbnailer.install | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/cover-thumbnailer.install b/cover-thumbnailer.install new file mode 100644 index 000000000000..eea40442e347 --- /dev/null +++ b/cover-thumbnailer.install @@ -0,0 +1,19 @@ +# cover-thumbnailer.install + +post_install() { + update-desktop-database -q + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + echo "" + echo " Do not forget to delete the cache of thumbnails:" + echo " rm rf ~/.thumbnails" + echo " rm rf ~/.cache/thumbnails" + echo "" +} + +post_upgrade() { + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} + +post_remove() { + post_install $1 +} |