when release is a 1.30, then use the old stable ppa
This commit is contained in:
parent
4fb43f5c5d
commit
3b045f3958
|
@ -124,7 +124,11 @@ PPA="";
|
||||||
if [ "$RELEASE" != "" ]; then
|
if [ "$RELEASE" != "" ]; then
|
||||||
# We need to use our official tarball for the original source, so grab it and overwrite our generated one.
|
# We need to use our official tarball for the original source, so grab it and overwrite our generated one.
|
||||||
IFS='.' read -r -a VERSION <<< "$RELEASE"
|
IFS='.' read -r -a VERSION <<< "$RELEASE"
|
||||||
PPA="ppa:iconnor/zoneminder-${VERSION[0]}.${VERSION[1]}"
|
if [ "${VERSION[0]}.${VERSION[1]}" == "1.30" ]; then
|
||||||
|
PPA="ppa:iconnor/zoneminder-stable"
|
||||||
|
else
|
||||||
|
PPA="ppa:iconnor/zoneminder-${VERSION[0]}.${VERSION[1]}"
|
||||||
|
fi;
|
||||||
else
|
else
|
||||||
if [ "$BRANCH" == "" ]; then
|
if [ "$BRANCH" == "" ]; then
|
||||||
PPA="ppa:iconnor/zoneminder-master";
|
PPA="ppa:iconnor/zoneminder-master";
|
||||||
|
|
Loading…
Reference in New Issue