]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - scripts/install.sh
Added require.sh to check if composer is installed
[github/wallabag/wallabag.git] / scripts / install.sh
index 54d0bb785b62976109f5b3e98c5da7c8e92e200d..cf966a0dd3705d57b6c9946fa399fca7a02125b9 100644 (file)
@@ -2,6 +2,10 @@
 # You can execute this file to install wallabag
 # eg: `sh install.sh prod`
 
+DIR="${BASH_SOURCE%/*}"
+if [[ ! -d "$DIR" ]]; then DIR="$PWD"; fi
+. "$DIR/require.sh"
+
 ENV=$1
 TAG=$(git describe --tags $(git rev-list --tags --max-count=1))