office/apvlv: Fix doinst.sh.

Signed-off-by: B. Watson <yalhcru@gmail.com>
This commit is contained in:
B. Watson 2022-04-02 16:07:14 -04:00
parent aa71f72345
commit 2edcb58dfc
2 changed files with 7 additions and 1 deletions

View file

@ -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}

View file

@ -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