2010-03-05 01:56:20 +08:00
|
|
|
if [ -x /usr/bin/update-desktop-database ]; then
|
|
|
|
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
|
|
|
|
fi
|
|
|
|
|
2011-06-11 18:11:48 +08:00
|
|
|
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
|
|
|
|
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
2017-01-09 20:43:53 +08:00
|
|
|
/usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
|
2011-06-11 18:11:48 +08:00
|
|
|
fi
|
|
|
|
fi
|
2011-09-25 23:06:23 +08:00
|
|
|
|
2014-12-16 09:51:40 +08:00
|
|
|
if [ -x /sbin/setcap ]; then
|
|
|
|
/sbin/setcap cap_ipc_lock,cap_sys_nice=ep usr/bin/hydrogen
|
|
|
|
fi
|
|
|
|
|