If the submodules have not been initialized and updated, the debian package will build.

However the installation will not be a success.
pull/5850/head
Sebastien Tricaud 2020-05-02 11:07:24 -07:00
parent a424221c5f
commit 105a72e80f
1 changed files with 8 additions and 0 deletions

View File

@ -1,4 +1,12 @@
#!/bin/bash
if [ ! -d ./app/Lib/cakephp/app ]
then
echo "CakePHP has not been pulled."
echo "Make sure all submodules are intialized and updated. Please run:"
echo "git submodule init"
echo "git submodule update"
exit 1
fi
dpkg-buildpackage -b -rfakeroot -us -uc