Collection of tools useful for audio production
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
443B

  1. #!/bin/bash
  2. if [ -f /usr/bin/python3 ]; then
  3. PYTHON=/usr/bin/python3
  4. else
  5. PYTHON=python
  6. fi
  7. INSTALL_PREFIX="X-PREFIX-X"
  8. if [ "$1"x == "--system-start-by-x11-startup"x ]; then
  9. $PYTHON $INSTALL_PREFIX/share/cadence/src/cadence_session_start.py --system-start &
  10. shift
  11. if [ "$1"x != ""x ]; then
  12. exec "$@"
  13. else
  14. exec x-session-manager
  15. fi
  16. else
  17. exec $PYTHON $INSTALL_PREFIX/share/cadence/src/cadence_session_start.py "$@"
  18. fi