aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--office/apvlv/apvlv.SlackBuild4
-rw-r--r--office/apvlv/doinst.sh4
2 files changed, 7 insertions, 1 deletions
diff --git a/office/apvlv/apvlv.SlackBuild b/office/apvlv/apvlv.SlackBuild
index 513d7088bb726..723a7a96bd224 100644
--- a/office/apvlv/apvlv.SlackBuild
+++ b/office/apvlv/apvlv.SlackBuild
@@ -23,13 +23,15 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220402 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - add update-desktop-database to doinst.sh.
# 20220217 bkw: Modified by SlackBuilds.org: fix build on Slack 15.0.
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=apvlv
VERSION=${VERSION:-20160627_9ab7626}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
diff --git a/office/apvlv/doinst.sh b/office/apvlv/doinst.sh
index 4a9c9936ef821..a8e7b9949d95b 100644
--- a/office/apvlv/doinst.sh
+++ b/office/apvlv/doinst.sh
@@ -11,3 +11,7 @@ config() {
# Otherwise, we leave the .new copy for the admin to consider...
}
config etc/apvlvrc.new
+
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi