#!/bin/sh #---------------------------------------------------------------------------- # /var/install/deinstall/heif-tools - deinstall script # # Creation : 2019-12-27 holbru # Last update: $Id$ # # Copyright (c) 2019-@@YEAR@@ Holger Bruenjes, holgerbruenjes(at)gmx(dot)net # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. #---------------------------------------------------------------------------- # set package name package_name=heif-tools # check for update is given if [ "${1}" = "--update" ] then update=true fi # --------------------------------------------------------------------------- # regenerate cache file # --------------------------------------------------------------------------- rm -f /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-heif.so if [ -f /usr/bin/gdk-pixbuf-query-loaders ] then /usr/bin/gdk-pixbuf-query-loaders --update-cache fi exit 0 # --------------------------------------------------------------------------- # end # ---------------------------------------------------------------------------