diff options
-rw-r--r-- | system/font-manager/doinst.sh | 5 | ||||
-rw-r--r-- | system/font-manager/font-manager.SlackBuild | 5 |
2 files changed, 9 insertions, 1 deletions
diff --git a/system/font-manager/doinst.sh b/system/font-manager/doinst.sh index f6a6676883..ebb9ce16ff 100644 --- a/system/font-manager/doinst.sh +++ b/system/font-manager/doinst.sh @@ -8,3 +8,8 @@ if [ -e usr/share/glib-2.0/schemas ]; then fi fi +if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then + if [ -x /usr/bin/gtk-update-icon-cache ]; then + /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi diff --git a/system/font-manager/font-manager.SlackBuild b/system/font-manager/font-manager.SlackBuild index f714cd8687..aa2ee5f0b8 100644 --- a/system/font-manager/font-manager.SlackBuild +++ b/system/font-manager/font-manager.SlackBuild @@ -22,6 +22,9 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20220411 bkw: Modified by SlackBuilds.org, BUILD=2: +# - update icon cache in doinst.sh (no script changes). + # 20220222 bkw: Modified by SlackBuilds.org: fix build on 15.0, # by updating to v0.8.8. @@ -32,7 +35,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=font-manager VERSION=${VERSION:-0.8.8} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} |