slackbuilds_ponce/network/riot-web/doinst.sh
mdrights 4c0c1697bc
network/riot-web: Updated for version 1.5.7
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2020-01-26 06:55:46 +07:00

12 lines
435 B
Bash

if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
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 -f usr/share/icons/hicolor >/dev/null 2>&1
fi
fi
# Riot-web should have a real config to work.
ln -sf /opt/riot-web/config.sample.json /opt/riot-web/config.json