mirror of
https://github.com/elisspace/rtinst.git
synced 2026-08-29 23:52:13 +00:00
Update rtsetup
This commit is contained in:
6
rtsetup
6
rtsetup
@@ -9,7 +9,11 @@
|
||||
######################################################################
|
||||
|
||||
PATH=/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/bin:/sbin
|
||||
branch=develop
|
||||
branch=$1
|
||||
|
||||
if [ -z $branch ]; then
|
||||
branch=master
|
||||
fi
|
||||
|
||||
if [ "$(id -u)" != "0" ]; then
|
||||
echo "Must be run as root, directly or with sudo"
|
||||
|
||||
Reference in New Issue
Block a user