diff options
Diffstat (limited to 'audio/rack/rack')
-rw-r--r-- | audio/rack/rack | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/audio/rack/rack b/audio/rack/rack new file mode 100644 index 0000000000..c30482d6f2 --- /dev/null +++ b/audio/rack/rack @@ -0,0 +1,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 |