diff options
author | B. Watson <yalhcru@gmail.com> | 2022-04-02 16:07:14 -0400 |
---|---|---|
committer | B. Watson <yalhcru@gmail.com> | 2022-04-02 16:07:14 -0400 |
commit | 2edcb58dfc827413e469e3d6438306edbdded13d (patch) | |
tree | c950a9c27a04482eba3e51b1254002d2533fc0c4 /office/apvlv | |
parent | aa71f7234522cf729a1d07be30e7f0186f1a9f4f (diff) | |
download | slackbuilds-2edcb58dfc827413e469e3d6438306edbdded13d.tar.gz |
office/apvlv: Fix doinst.sh.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'office/apvlv')
-rw-r--r-- | office/apvlv/apvlv.SlackBuild | 4 | ||||
-rw-r--r-- | office/apvlv/doinst.sh | 4 |
2 files changed, 7 insertions, 1 deletions
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 |