mirror of
https://github.com/Ponce/slackbuilds
synced 2024-12-02 13:04:42 +01:00
17 lines
456 B
Bash
17 lines
456 B
Bash
|
if [ -x /usr/bin/update-desktop-database ]; then
|
||
|
/usr/bin/update-desktop-database -q usr/share/applications
|
||
|
fi
|
||
|
|
||
|
if [ -x /usr/bin/update-mime-database ]; then
|
||
|
/usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
|
||
|
fi
|
||
|
|
||
|
|
||
|
|
||
|
# Update hicolor theme cache:
|
||
|
if [ -d usr/share/icons/hicolor ]; then
|
||
|
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
||
|
chroot . /usr/bin/gtk-update-icon-cache -f -t usr/share/icons/hicolor 1> /dev/null 2> /dev/null
|
||
|
fi
|
||
|
fi
|