mirror of
https://github.com/cimryan/teslausb.git
synced 2026-03-01 04:30:33 +00:00
Set the branch and repo only if not already set.
This commit is contained in:
@@ -1,9 +1,17 @@
|
||||
#!/bin/bash -eu
|
||||
|
||||
REPO=cimryan
|
||||
BRANCH=master
|
||||
user_enabled_pushover=false
|
||||
|
||||
if [[ -z $REPO ]]
|
||||
then
|
||||
REPO=cimryan
|
||||
fi
|
||||
|
||||
f [[ -z $BRANCH ]]
|
||||
then
|
||||
BRANCH=master
|
||||
fi
|
||||
|
||||
if ! [ $(id -u) = 0 ]
|
||||
then
|
||||
echo "STOP: Run sudo -i."
|
||||
|
||||
Reference in New Issue
Block a user