summaryrefslogtreecommitdiff
path: root/python/argcomplete/doinst.sh
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2014-01-14 23:43:03 +0700
committerErik Hanson <erik@slackbuilds.org>2014-01-29 23:21:01 -0600
commit47643065d1928a2854e176295d2bd2ddd22386aa (patch)
treef739af567624dfc0967c3516e1938a9de94539cb /python/argcomplete/doinst.sh
parent42486f1f2305bf0b6ed660b6c10d4ff459be9415 (diff)
downloadslackbuilds-47643065d1928a2854e176295d2bd2ddd22386aa.tar.gz
python/argcomplete: Added (Bash tab completion for argparse).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/argcomplete/doinst.sh')
-rw-r--r--python/argcomplete/doinst.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/python/argcomplete/doinst.sh b/python/argcomplete/doinst.sh
new file mode 100644
index 0000000000..4e8ba7071d
--- /dev/null
+++ b/python/argcomplete/doinst.sh
@@ -0,0 +1,4 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+