| 1 | #!/bin/bashscip-shell filesystem . . `/bin/bash`. |
| 2 | |
| 3 | if whichscip-shell system . . which. $1 >/dev/nullscip-shell filesystem . . `/dev/null`. 2>/dev/nullscip-shell filesystem . . `/dev/null`. ; then |
| 4 | if $1 -v 2>&1 | grepscip-shell system . . grep. Qt\ $RADIUM_QT_VERSION >/dev/nullscip-shell filesystem . . `/dev/null`. ; then |
| 5 | echoscip-shell system . . echo. `whichscip-shell system . . which. $1` |
| 6 | exit 0 |
| 7 | elif $1 -v 2>&1 | grepscip-shell system . . grep. version\ $RADIUM_QT_VERSION >/dev/nullscip-shell filesystem . . `/dev/null`. ; then |
| 8 | echoscip-shell system . . echo. `whichscip-shell system . . which. $1` |
| 9 | exit 0 |
| 10 | elif $1 -v 2>&1 | grepscip-shell system . . grep. qt$RADIUM_QT_VERSION >/dev/nullscip-shell filesystem . . `/dev/null`. ; then |
| 11 | echoscip-shell system . . echo. `whichscip-shell system . . which. $1` |
| 12 | exit 0 |
| 13 | elif $1 -v 2>&1 | grepscip-shell system . . grep. $1\ $RADIUM_QT_VERSION >/dev/nullscip-shell filesystem . . `/dev/null`. ; then |
| 14 | echoscip-shell system . . echo. `whichscip-shell system . . which. $1` |
| 15 | exit 0 |
| 16 | fi |
| 17 | fi |
| 18 | |
| 19 | if whichscip-shell system . . which. $1-qt$RADIUM_QT_VERSION >/dev/nullscip-shell filesystem . . `/dev/null`. 2>/dev/nullscip-shell filesystem . . `/dev/null`. ; then |
| 20 | echoscip-shell system . . echo. `whichscip-shell system . . which. $1-qt$RADIUM_QT_VERSION` |
| 21 | exit 0 |
| 22 | fi |
| 23 | |
| 24 | if [scip-shell system . . `[`. -f /etc/fedora-releasescip-shell filesystem . . `/etc/fedora-release`. ] ; then |
| 25 | if unamescip-shell system . . uname. -a |grepscip-shell system . . grep. x86_64 >/dev/nullscip-shell filesystem . . `/dev/null`. ; then |
| 26 | echoscip-shell system . . echo. /usr/bin/$1-qt$RADIUM_QT_VERSION |
| 27 | else |
| 28 | echoscip-shell system . . echo. /usr/bin/$1-qt$RADIUM_QT_VERSION |
| 29 | fi |
| 30 | |
| 31 | elif grepscip-shell system . . grep. -i ubuntu /etc/lsb-releasescip-shell filesystem . . `/etc/lsb-release`. >/dev/nullscip-shell filesystem . . `/dev/null`. 2>/dev/nullscip-shell filesystem . . `/dev/null`. ; then |
| 32 | echoscip-shell system . . echo. $1-qt$RADIUM_QT_VERSION |
| 33 | |
| 34 | elif grepscip-shell system . . grep. -i debian /etc/lsb-releasescip-shell filesystem . . `/etc/lsb-release`. >/dev/nullscip-shell filesystem . . `/dev/null`. 2>/dev/nullscip-shell filesystem . . `/dev/null`. ; then |
| 35 | echoscip-shell system . . echo. $1-qt$RADIUM_QT_VERSION |
| 36 | |
| 37 | elif grepscip-shell system . . grep. -i mint /etc/lsb-releasescip-shell filesystem . . `/etc/lsb-release`. >/dev/nullscip-shell filesystem . . `/dev/null`. 2>/dev/nullscip-shell filesystem . . `/dev/null`. ; then |
| 38 | echoscip-shell system . . echo. $1-qt$RADIUM_QT_VERSION |
| 39 | |
| 40 | elif grepscip-shell system . . grep. -i arch /etc/lsb-releasescip-shell filesystem . . `/etc/lsb-release`. >/dev/nullscip-shell filesystem . . `/dev/null`. 2>/dev/nullscip-shell filesystem . . `/dev/null`. ; then |
| 41 | echoscip-shell system . . echo. $1-qt$RADIUM_QT_VERSION |
| 42 | |
| 43 | else |
| 44 | echoscip-shell system . . echo. $1-qt$RADIUM_QT_VERSION |
| 45 | fi |