Ticket #49595: kdeinit4.sh

File kdeinit4.sh, 233 bytes (added by RJVB (René Bertin), 6 years ago)
Line 
1#!/bin/sh
2
3if [ "${TERM}" != "" ] ;then
4        # launched attached to a terminal session; do not use LaunchServices:
5        exec @KDEAPPDIR@/kdeinit4.app/Contents/MacOS/kdeinit4 "$@"
6else
7        exec open -W -a @KDEAPPDIR@/kdeinit4.app --args "$@"
8fi