File: update_icon.sh

package info (click to toggle)
terminus 3.6.0-1.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,156 kB
  • sloc: xml: 278; javascript: 236; sh: 22; makefile: 21
file content (12 lines) | stat: -rwxr-xr-x 299 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash

if [[ -z "${DESTDIR}" ]]; then
	if [[ -z "${MESON_INSTALL_PREFIX}" ]]; then
		prefix=/usr/local
	else
		prefix="${MESON_INSTALL_PREFIX}"
	fi
    datadir="${prefix}/share"
	echo Updating icon cache at ${datadir}/icons/hicolor...
	gtk-update-icon-cache -qtf "${datadir}/icons/hicolor"
fi