slackbuilds_ponce/network/zoom-linux/doinst.sh
Andrew Clemons 329feec04c
network/zoom-linux: Silence warnings in doinst.sh.
The file will not be found if we are installing with a different
ROOT. Additionally, we do not use xdg-mime install in any other
builds, relying instead solely on update-mime-database.

Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2022-06-04 10:37:04 +07:00

7 lines
242 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 [ -x /usr/bin/update-mime-database ]; then
/usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
fi