blob: f262665b2d57349cc341ce67f0470de5ca2e479c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#!/bin/sh
set -e
case "$1" in
configure)
# chrome-sandbox requires SUID root for Chromium's namespace sandbox
if [ -f /opt/meshbay-client/chrome-sandbox ]; then
chown root:root /opt/meshbay-client/chrome-sandbox
chmod 4755 /opt/meshbay-client/chrome-sandbox
fi
# Update desktop database and icon cache
if command -v update-desktop-database >/dev/null 2>&1; then
update-desktop-database /usr/share/applications || true
fi
if command -v gtk-update-icon-cache >/dev/null 2>&1; then
gtk-update-icon-cache -f -t /usr/share/icons/hicolor || true
fi
;;
esac
#DEBHELPER#
|