Skip to content

Commit

Permalink
If the submodules have not been initialized and updated, the debian p…
Browse files Browse the repository at this point in the history
…ackage will build.

However the installation will not be a success.
  • Loading branch information
Sebastien Tricaud committed May 2, 2020
1 parent a424221 commit 105a72e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions build-deb.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 105a72e

Please sign in to comment.