From e3a5b4588b42a510998d5d03267a8392e080d8d5 Mon Sep 17 00:00:00 2001 From: David Spencer Date: Sun, 4 Feb 2018 19:37:31 +0000 Subject: desktop/cnslock: Fix version. Added doinst.sh. Signed-off-by: David Spencer --- desktop/cnslock/cnslock.SlackBuild | 1 + desktop/cnslock/cnslock.info | 2 +- desktop/cnslock/doinst.sh | 3 +++ 3 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 desktop/cnslock/doinst.sh (limited to 'desktop/cnslock') diff --git a/desktop/cnslock/cnslock.SlackBuild b/desktop/cnslock/cnslock.SlackBuild index 9270e967e0..5674170d70 100644 --- a/desktop/cnslock/cnslock.SlackBuild +++ b/desktop/cnslock/cnslock.SlackBuild @@ -92,6 +92,7 @@ cp -v CHANGES COPYING INSTALL README TODO $PKG/usr/doc/$PRGNAM-$VERSION/ 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:-tgz} diff --git a/desktop/cnslock/cnslock.info b/desktop/cnslock/cnslock.info index 548cf760ab..aed8e4d1c8 100644 --- a/desktop/cnslock/cnslock.info +++ b/desktop/cnslock/cnslock.info @@ -1,5 +1,5 @@ PRGNAM="cnslock" -VERSION="1.0.3" +VERSION="1.03" HOMEPAGE="http://www.dockapps.net/cnslock" DOWNLOAD="http://www.dockapps.net/download/cnslock-1.03.tar.gz" MD5SUM="c3b37281621c1fff45ed5d454cbd45f4" diff --git a/desktop/cnslock/doinst.sh b/desktop/cnslock/doinst.sh new file mode 100644 index 0000000000..5fb28930db --- /dev/null +++ b/desktop/cnslock/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 -- cgit v1.2.3