|
@@ -90,6 +90,8 @@ main() {
|
90
|
90
|
local Tmp # our temp
|
91
|
91
|
local Branch # branch to use, if empty, tags are considered
|
92
|
92
|
local DryRun=false # do not do anything
|
|
93
|
+ which copr >/dev/null \
|
|
94
|
+ || die "copr not found, try 'sudo install copr-cli'"
|
93
|
95
|
UrlBase=https://github.com/AloisMahdal/slop
|
94
|
96
|
Tmp=$(mktemp -d)
|
95
|
97
|
while true; do case $1 in
|
|
@@ -103,8 +105,6 @@ main() {
|
103
|
105
|
esac done
|
104
|
106
|
CoprProject=$1
|
105
|
107
|
test -n "$CoprProject" || usage
|
106
|
|
- which copr >/dev/null \
|
107
|
|
- || die "copr not found, try 'sudo install copr-cli'"
|
108
|
108
|
if test -n "$Branch"; then
|
109
|
109
|
die "not implemented"
|
110
|
110
|
test -n "$Version" || Version=$(git_guess ver)
|