diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2021-08-22 22:07:07 +1200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-08-25 12:11:38 +0700 |
commit | 1a98d8dd9cfcda19e30c3617fb08dfa4e151f50c (patch) | |
tree | 7772f1f20dc77380b7450a7352c52a21e9a8d258 /misc/yubioath-desktop | |
parent | b775a8b25ecd130b530edd1c89f19ef3d4d000a0 (diff) |
misc/yubioath-desktop: Fix desktop file handling.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'misc/yubioath-desktop')
-rw-r--r-- | misc/yubioath-desktop/doinst.sh | 3 | ||||
-rw-r--r-- | misc/yubioath-desktop/yubioath-desktop.SlackBuild | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/misc/yubioath-desktop/doinst.sh b/misc/yubioath-desktop/doinst.sh new file mode 100644 index 0000000000000..5fb28930db0b9 --- /dev/null +++ b/misc/yubioath-desktop/doinst.sh @@ -0,0 +1,3 @@ +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 +fi diff --git a/misc/yubioath-desktop/yubioath-desktop.SlackBuild b/misc/yubioath-desktop/yubioath-desktop.SlackBuild index 6ca4593c42431..2b0fd0e736e49 100644 --- a/misc/yubioath-desktop/yubioath-desktop.SlackBuild +++ b/misc/yubioath-desktop/yubioath-desktop.SlackBuild @@ -96,6 +96,7 @@ cp $CWD/$PRGNAM-$VERSION-linux.AppImage $PKG/usr/bin/$PRGNAM mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE |