From 105a72e80f3970a97d78b7a8c92dd1400223f198 Mon Sep 17 00:00:00 2001 From: Sebastien Tricaud Date: Sat, 2 May 2020 11:07:24 -0700 Subject: [PATCH] If the submodules have not been initialized and updated, the debian package will build. However the installation will not be a success. --- build-deb.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/build-deb.sh b/build-deb.sh index df3a46386..42a4ae989 100755 --- a/build-deb.sh +++ b/build-deb.sh @@ -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