diff --git a/office/apvlv/apvlv.SlackBuild b/office/apvlv/apvlv.SlackBuild index 513d7088bb..723a7a96bd 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 4a9c9936ef..a8e7b9949d 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