diff options
author | Murat D. Kadirov <banderols@gmail.com> | 2010-05-13 00:27:47 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-13 00:27:47 +0200 |
commit | 2e381d9829fcd4806c599043bd7cee0f6b9dfbb3 (patch) | |
tree | a82e7990e8714d26460c76b3c75e6643329501d7 /graphics/djview4/doinst.sh | |
parent | 340d099eb84e1792b3690d654303e479ac213c3d (diff) |
graphics/djview4: Updated for version 4.5
Diffstat (limited to 'graphics/djview4/doinst.sh')
-rw-r--r-- | graphics/djview4/doinst.sh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/graphics/djview4/doinst.sh b/graphics/djview4/doinst.sh index 3c3180c7ba9c6..9a8ded3c60349 100644 --- a/graphics/djview4/doinst.sh +++ b/graphics/djview4/doinst.sh @@ -1,4 +1,7 @@ -if [ -x /usr/share/djvu/djview4/desktop/register-djview-menu ]; then - /usr/share/djvu/djview4/desktop/register-djview-menu install +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 |