17
CLICK_PKG=`echo "${APP_ID}" | cut -d _ -f 1`
19
if [ ! -z $CLICK_PKG ] ; then
20
CLICK_DIR=`click pkgdir "${CLICK_PKG}" 2> /dev/null || true`
23
if [ ! -z $CLICK_DIR ] && [ -d $CLICK_DIR ] ; then
24
if ! start application-click APP_ID="${APP_ID}" APP_URIS="${APP_URIS}"; then
25
@pkglibexecdir@/second-exec
28
if @pkglibexecdir@/desktop-single $APP_ID ; then
29
if ! start application-legacy APP_ID="${APP_ID}" INSTANCE_ID="" APP_URIS="${APP_URIS}" ; then
30
@pkglibexecdir@/second-exec
33
start application-legacy APP_ID="${APP_ID}" INSTANCE_ID=`date -u +%s` APP_URIS="${APP_URIS}"
16
exec @pkglibexecdir@/application-job