forked from cromer/pamac-classic
update to work with newever versions of vala
This commit is contained in:
12
meson_scripts/update_icon.sh
Executable file
12
meson_scripts/update_icon.sh
Executable file
@@ -0,0 +1,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
|
Reference in New Issue
Block a user