diff options
author | David Spencer <idlemoor@slackbuilds.org> | 2018-02-04 19:37:31 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-02-10 08:09:29 +0700 |
commit | e3a5b4588b42a510998d5d03267a8392e080d8d5 (patch) | |
tree | 27b7624c0f87419e5b1a3a9ca64d190af48fc3fd | |
parent | 746fdde03e8bc998432a0a2bd3c9c5efe4d9b534 (diff) |
desktop/cnslock: Fix version.
Added doinst.sh.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r-- | desktop/cnslock/cnslock.SlackBuild | 1 | ||||
-rw-r--r-- | desktop/cnslock/cnslock.info | 2 | ||||
-rw-r--r-- | desktop/cnslock/doinst.sh | 3 |
3 files changed, 5 insertions, 1 deletions
diff --git a/desktop/cnslock/cnslock.SlackBuild b/desktop/cnslock/cnslock.SlackBuild index 9270e967e0f0..5674170d7087 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 548cf760abf8..aed8e4d1c833 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 000000000000..5fb28930db0b --- /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 |