summaryrefslogtreecommitdiffstats
path: root/audio/rack/rack
blob: c30482d6f22f232cd7a622c9a074e088946f4a2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh
# Slackware wrapper for the vcv rack executable.
runme(){
    cd /opt/rack
    ./Rack

}

if [ $UID == 0 ]; then
    read -p "You are currently running as root...\
 Are you sure you want to proceed? (N/y): " resp
    case "$resp" in
	y|yes)
	    runme
	    ;;
	*)
	    echo Exiting
	    exit 0
	    ;;
    esac
else
    runme
fi