Use FriendsOfCake 3.2.0 Crud
This commit is contained in:
parent
7faf774cd0
commit
645dca6bc9
|
@ -94,12 +94,12 @@ commonprep () {
|
||||||
|
|
||||||
# The rpm specfile requires we download each submodule as a tarball then manually move it into place
|
# The rpm specfile requires we download each submodule as a tarball then manually move it into place
|
||||||
# Might as well do this for Debian as well, rather than git submodule init
|
# Might as well do this for Debian as well, rather than git submodule init
|
||||||
CRUDVER="3.1.0-zm"
|
CRUDVER="3.2.0"
|
||||||
if [ -e "build/crud-${CRUDVER}.tar.gz" ]; then
|
if [ -e "build/crud-${CRUDVER}.tar.gz" ]; then
|
||||||
echo "Found existing Crud ${CRUDVER} tarball..."
|
echo "Found existing Crud ${CRUDVER} tarball..."
|
||||||
else
|
else
|
||||||
echo "Retrieving Crud ${CRUDVER} submodule..."
|
echo "Retrieving Crud ${CRUDVER} submodule..."
|
||||||
curl -L https://github.com/ZoneMinder/crud/archive/v${CRUDVER}.tar.gz > build/crud-${CRUDVER}.tar.gz
|
curl -L https://github.com/FriendsOfCake/crud/archive/v${CRUDVER}.tar.gz > build/crud-${CRUDVER}.tar.gz
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
echo "ERROR: Crud tarball retreival failed..."
|
echo "ERROR: Crud tarball retreival failed..."
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Reference in New Issue