aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-08-22 21:47:51 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-08-25 12:11:37 +0700
commit6b8597019ce1fc88b8575423e6b472a19077a39c (patch)
tree5105d84a2420aff58402bb3084ddb94e13f3eb16 /misc
parent9c88550b13127287d4ba20dc13e5301c6b046a14 (diff)
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 04a38d474446..daa63450b0a5 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