diff options
author | Thomas Citharel <tcit@tcit.fr> | 2016-10-03 15:33:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-03 15:33:08 +0200 |
commit | 24add95e9eaa1211655aff6d3d06c30e94252bcc (patch) | |
tree | 59fde27b0ec839434b725a276743027672efefd1 /install.sh | |
parent | 9d3603147b0a4219a8065861351439cbe5e52772 (diff) | |
parent | 88d8125a5fa3b5c6c91cb22fc2bef1243d7391fc (diff) | |
download | wallabag-24add95e9eaa1211655aff6d3d06c30e94252bcc.tar.gz wallabag-24add95e9eaa1211655aff6d3d06c30e94252bcc.tar.zst wallabag-24add95e9eaa1211655aff6d3d06c30e94252bcc.zip |
Merge pull request #2338 from wallabag/install-2.1
Fix for 2.1 installation
Diffstat (limited to 'install.sh')
-rwxr-xr-x | install.sh | 24 |
1 files changed, 11 insertions, 13 deletions
@@ -1,15 +1,13 @@ | |||
1 | #! /usr/bin/env bash | 1 | #! /usr/bin/env bash |
2 | 2 | ||
3 | if [[ $ASSETS == 'build' ]]; then | 3 | echo " > Installing PHP dependencies through Composer..." |
4 | echo "Installing PHP dependencies through Composer..." | 4 | composer install --no-interaction --no-progress --prefer-dist -o --no-dev |
5 | composer install --no-interaction --no-progress --prefer-dist -o | 5 | |
6 | 6 | chmod ugo+x vendor/mouf/nodejs-installer/bin/local/npm | |
7 | chmod ugo+x vendor/mouf/nodejs-installer/bin/local/npm | 7 | echo " > Downloading librairies through npm..." |
8 | echo "Downloading librairies through npm..." | 8 | vendor/mouf/nodejs-installer/bin/local/npm install |
9 | vendor/mouf/nodejs-installer/bin/local/npm install | 9 | |
10 | 10 | echo " > Concat, minify and installing assets..." | |
11 | echo "Concat, minify and installing assets..." | 11 | node_modules/grunt/bin/grunt |
12 | node_modules/grunt/bin/grunt | 12 | |
13 | else | 13 | echo " > Install finished" |
14 | composer install --no-interaction --no-progress --prefer-dist -o | ||
15 | fi | ||