diff options
-rw-r--r-- | misc/yapet/doinst.sh | 3 | ||||
-rw-r--r-- | misc/yapet/gcc6.patch | 11 | ||||
-rw-r--r-- | misc/yapet/yapet.SlackBuild | 1 |
3 files changed, 4 insertions, 11 deletions
diff --git a/misc/yapet/doinst.sh b/misc/yapet/doinst.sh new file mode 100644 index 0000000000000..5fb28930db0b9 --- /dev/null +++ b/misc/yapet/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/yapet/gcc6.patch b/misc/yapet/gcc6.patch deleted file mode 100644 index a57e0c93c18ec..0000000000000 --- a/misc/yapet/gcc6.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- yapet-1.0/yapet/cfg.h 2014-02-23 10:18:41.000000000 -0700 -+++ yapet-1.0/yapet/cfg.h 2016-04-14 07:06:49.665672169 -0700 -@@ -163,7 +163,7 @@ - locked = false; - } - -- void is_locked() const { -+ bool is_locked() const { - return locked; - } - diff --git a/misc/yapet/yapet.SlackBuild b/misc/yapet/yapet.SlackBuild index d377be2ec088c..fca88e49d0ef1 100644 --- a/misc/yapet/yapet.SlackBuild +++ b/misc/yapet/yapet.SlackBuild @@ -101,6 +101,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 |