aboutsummaryrefslogtreecommitdiff
path: root/graphics/povray/doinst.sh
diff options
context:
space:
mode:
authorklaatu <klaatu@member.fsf.org>2022-03-09 08:16:19 +1300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-03-09 17:20:40 +0700
commit9485e97be5e66fa84621d712fba9c31246c33688 (patch)
treec3afe87d21666de070d8b6603d59ead420491569 /graphics/povray/doinst.sh
parent1ed44054b6aa489bf8656747449866c1118b8c4c (diff)
graphics/povray: Updated for version 3.8.0_beta.2.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics/povray/doinst.sh')
-rw-r--r--graphics/povray/doinst.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/graphics/povray/doinst.sh b/graphics/povray/doinst.sh
index 9e6e7818eb8f..55cd6f9e02d9 100644
--- a/graphics/povray/doinst.sh
+++ b/graphics/povray/doinst.sh
@@ -11,10 +11,10 @@ config() {
# Otherwise, we leave the .new copy for the admin to consider...
}
-config etc/povray/@VERSION@/povray.conf.new
-config etc/povray/@VERSION@/povray.ini.new
-
-if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+if [ -e /etc/povray/@VERSION@/povray.conf.new ]; then
+ config /etc/povray/@VERSION@/povray.conf.new
fi
+if [ -e /etc/povray/@VERSION@/povray.ini.new ]; then
+ config /etc/povray/@VERSION@/povray.ini.new
+fi