mirror of
https://github.com/YunoHost-Apps/monica_ynh.git
synced 2024-09-03 19:46:23 +02:00
update version
This commit is contained in:
parent
02e4c78b14
commit
65d874c038
2 changed files with 4 additions and 3 deletions
1
install
Normal file
1
install
Normal file
|
@ -0,0 +1 @@
|
||||||
|
yunohost app install /vagrant/monica_ynh/ --debug -n -a "domain=ynh2.dev&path=/&admin=basti&is_public=0&language=en"
|
|
@ -3,7 +3,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
# monica git version
|
# monica git version
|
||||||
VERSION="v0.3.0"
|
VERSION="v0.4.1"
|
||||||
|
|
||||||
# Remote URL to fetch monica source tarball
|
# Remote URL to fetch monica source tarball
|
||||||
MONICA_SOURCE_URL="https://github.com/monicahq/monica/archive/${VERSION}.tar.gz"
|
MONICA_SOURCE_URL="https://github.com/monicahq/monica/archive/${VERSION}.tar.gz"
|
||||||
|
@ -95,11 +95,11 @@ init_composer() {
|
||||||
# install composer
|
# install composer
|
||||||
curl -sS https://getcomposer.org/installer \
|
curl -sS https://getcomposer.org/installer \
|
||||||
| COMPOSER_HOME="${DESTDIR}/.composer" \
|
| COMPOSER_HOME="${DESTDIR}/.composer" \
|
||||||
sudo /usr/bin/php7.0 -- --install-dir="$DESTDIR" \
|
sudo /usr/bin/php7.0 -- --quiet --install-dir="$DESTDIR" \
|
||||||
|| ynh_die "Unable to install Composer"
|
|| ynh_die "Unable to install Composer"
|
||||||
|
|
||||||
# update dependencies to create composer.lock
|
# update dependencies to create composer.lock
|
||||||
exec_composer "$DESTDIR" install --no-dev --prefer-dist \
|
exec_composer "$DESTDIR" install --quiet --no-dev --prefer-dist \
|
||||||
|| ynh_die "Unable to update monica core dependencies"
|
|| ynh_die "Unable to update monica core dependencies"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue