Updated to v1.0.0-beta.4
This commit is contained in:
parent
fb5c830504
commit
09e6c7fb43
7 changed files with 24 additions and 19 deletions
|
|
@ -10,14 +10,12 @@ if [ ! -e _common.sh ]; then
|
|||
# Get the _common.sh file if it's not in the current directory
|
||||
cp ../settings/scripts/_common.sh ./_common.sh
|
||||
cp ../settings/scripts/psql.sh ./psql.sh
|
||||
cp ../settings/scripts/nodejs.sh ./nodejs.sh
|
||||
chmod a+rx _common.sh psql.sh nodejs.sh
|
||||
chmod a+rx _common.sh psql.sh
|
||||
fi
|
||||
|
||||
source _common.sh
|
||||
source /usr/share/yunohost/helpers
|
||||
source psql.sh
|
||||
source nodejs.sh
|
||||
|
||||
#=================================================
|
||||
# MANAGE SCRIPT FAILURE
|
||||
|
|
|
|||
|
|
@ -9,7 +9,6 @@
|
|||
source _common.sh
|
||||
source /usr/share/yunohost/helpers
|
||||
source psql.sh
|
||||
source nodejs.sh
|
||||
|
||||
#=================================================
|
||||
# MANAGE SCRIPT FAILURE
|
||||
|
|
@ -92,9 +91,9 @@ mkdir -p "$datadir"
|
|||
ynh_install_nodejs 8
|
||||
|
||||
# install yarn
|
||||
wget https://github.com/yarnpkg/yarn/releases/download/v1.5.1/yarn_1.5.1_all.deb
|
||||
echo "a4770cd8dcb13dc9a9218940dbd24b510ddf5eec78adb4e0da9ef3760b55a76e yarn_1.5.1_all.deb" | sha256sum -c || ynh_die
|
||||
dpkg -i yarn_1.5.1_all.deb
|
||||
wget https://github.com/yarnpkg/yarn/releases/download/v1.6.0/yarn_1.6.0_all.deb
|
||||
echo "96866d835da94a1f01a616f3d637c9100e826f65cb38a65e5d96ccf01ff6d692 yarn_1.6.0_all.deb" | sha256sum -c || ynh_die
|
||||
dpkg -i yarn_1.6.0_all.deb
|
||||
|
||||
# add backports (required to install ffmpeg)
|
||||
echo "deb http://httpredir.debian.org/debian jessie-backports main" | tee /etc/apt/sources.list.d/jessie-backports.list
|
||||
|
|
|
|||
|
|
@ -10,7 +10,6 @@
|
|||
source _common.sh
|
||||
source /usr/share/yunohost/helpers
|
||||
source psql.sh
|
||||
source nodejs.sh
|
||||
|
||||
#=================================================
|
||||
# LOAD SETTINGS
|
||||
|
|
|
|||
|
|
@ -10,14 +10,13 @@ if [ ! -e _common.sh ]; then
|
|||
# Get the _common.sh file if it's not in the current directory
|
||||
cp ../settings/scripts/_common.sh ./_common.sh
|
||||
cp ../settings/scripts/psql.sh ./psql.sh
|
||||
cp ../settings/scripts/nodejs.sh ./nodejs.sh
|
||||
chmod a+rx _common.sh psql.sh nodejs.sh
|
||||
chmod a+rx _common.sh psql.sh
|
||||
fi
|
||||
|
||||
source _common.sh
|
||||
source /usr/share/yunohost/helpers
|
||||
source psql.sh
|
||||
source nodejs.sh
|
||||
|
||||
|
||||
#=================================================
|
||||
# MANAGE SCRIPT FAILURE
|
||||
|
|
|
|||
|
|
@ -9,7 +9,6 @@
|
|||
source _common.sh
|
||||
source /usr/share/yunohost/helpers
|
||||
source psql.sh
|
||||
source nodejs.sh
|
||||
|
||||
#=================================================
|
||||
# LOAD SETTINGS
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue