#!/bin/sh TARGET=$PRODTREE/recoll/bin/recoll.bin PROGNAME="recoll" export QTWEBENGINE_DISABLE_SANDBOX=1 if [ -f $TARGET ]; then # If there are no parameters, start in # user's home directory if [ "x$1" = "x" ]; then cd; fi resetpcmvol # See comments in the code /laclin/lacutil/single-instance --wait --usepid \ '(^|/bin/)recoll\.bin\b' $TARGET $* & exit else TITLE="$PROGNAME isn't installed" MSG="This version of this distro omits $PROGNAME." /laclin/lacutil/single-instance --wait --usewin \ "^$TITLE" \ zenity --error --no-wrap --title="$TITLE" --text="$MSG" fi