aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--python/requirements-detector/doinst.sh3
-rw-r--r--python/requirements-detector/requirements-detector.SlackBuild3
-rw-r--r--python/requirements-detector/requirements-detector.info6
3 files changed, 8 insertions, 4 deletions
diff --git a/python/requirements-detector/doinst.sh b/python/requirements-detector/doinst.sh
new file mode 100644
index 000000000000..5fb28930db0b
--- /dev/null
+++ b/python/requirements-detector/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/python/requirements-detector/requirements-detector.SlackBuild b/python/requirements-detector/requirements-detector.SlackBuild
index 9bc1b2743707..78ba8c4a3bd2 100644
--- a/python/requirements-detector/requirements-detector.SlackBuild
+++ b/python/requirements-detector/requirements-detector.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=requirements-detector
-VERSION=${VERSION:-0.2.1}
+VERSION=${VERSION:-0.2.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -80,6 +80,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
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/python/requirements-detector/requirements-detector.info b/python/requirements-detector/requirements-detector.info
index f8dfbbc7e219..bf32e53ba76b 100644
--- a/python/requirements-detector/requirements-detector.info
+++ b/python/requirements-detector/requirements-detector.info
@@ -1,8 +1,8 @@
PRGNAM="requirements-detector"
-VERSION="0.2.1"
+VERSION="0.2.2"
HOMEPAGE="https://github.com/landscapeio/requirements-detector"
-DOWNLOAD="https://pypi.python.org/packages/source/r/requirements-detector/requirements-detector-0.2.1.tar.gz"
-MD5SUM="81bfd96d37a0f175ef22453f7e65cfc3"
+DOWNLOAD="https://pypi.python.org/packages/source/r/requirements-detector/requirements-detector-0.2.2.tar.gz"
+MD5SUM="abc28addd9d8c53211e20176ea204853"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="astroid"