summaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
author Andrew Clemons2021-08-22 11:47:51 +0200
committer Willy Sudiarto Raharjo2021-08-25 07:11:37 +0200
commit6b8597019ce1fc88b8575423e6b472a19077a39c (patch)
tree5105d84a2420aff58402bb3084ddb94e13f3eb16 /misc
parent9c88550b13127287d4ba20dc13e5301c6b046a14 (diff)
downloadslackbuilds-6b8597019ce1fc88b8575423e6b472a19077a39c.tar.gz
misc/weather: Fix doinst.sh.
There are no desktop files in this package. Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'misc')
-rw-r--r--misc/weather/doinst.sh11
1 files changed, 1 insertions, 10 deletions
diff --git a/misc/weather/doinst.sh b/misc/weather/doinst.sh
index 04a38d4744..daa63450b0 100644
--- a/misc/weather/doinst.sh
+++ b/misc/weather/doinst.sh
@@ -19,15 +19,6 @@ elif [ ! -e usr/bin/weather.expect -a -e usr/bin/weather ]; then
# the existing /usr/bin/weather, which is assumed to come from the
# stock expect package
cp -a usr/bin/weather usr/bin/weather.expect
-fi
-
-config etc/weatherrc.new
-
-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
+config etc/weatherrc.new