summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorDavid Spencer <idlemoor@slackbuilds.org>2018-02-04 19:37:31 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-02-10 08:09:29 +0700
commite3a5b4588b42a510998d5d03267a8392e080d8d5 (patch)
tree27b7624c0f87419e5b1a3a9ca64d190af48fc3fd /desktop
parent746fdde03e8bc998432a0a2bd3c9c5efe4d9b534 (diff)
downloadslackbuilds-e3a5b4588b42a510998d5d03267a8392e080d8d5.tar.gz
desktop/cnslock: Fix version.
Added doinst.sh. Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'desktop')
-rw-r--r--desktop/cnslock/cnslock.SlackBuild1
-rw-r--r--desktop/cnslock/cnslock.info2
-rw-r--r--desktop/cnslock/doinst.sh3
3 files changed, 5 insertions, 1 deletions
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