diff options
| author | nemsia <nemsia@nemsia.org> | 2017-04-11 14:51:38 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-04-11 14:51:38 +0200 |
| commit | 289d9fb81f00d17957b9f788eb709a3cd9618fa1 (patch) | |
| tree | fabfb393952245716040377f1c387af7b58a3ab2 | |
| parent | b3c81edb5dc91e241288c668358037e088e43931 (diff) | |
| download | mastodon_ynh-289d9fb81f00d17957b9f788eb709a3cd9618fa1.tar.gz mastodon_ynh-289d9fb81f00d17957b9f788eb709a3cd9618fa1.tar.bz2 mastodon_ynh-289d9fb81f00d17957b9f788eb709a3cd9618fa1.zip | |
Clean lines
| -rw-r--r-- | scripts/install | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/scripts/install b/scripts/install index 239a2fa..4d215bd 100644 --- a/scripts/install +++ b/scripts/install @@ -65,7 +65,6 @@ curl -sL https://deb.nodesource.com/setup_4.x | sudo bash - sudo apt-get -y install nodejs sudo npm install -g yarn -<<<<<<< HEAD # Set UTF8 encoding by default sudo su -c "psql" postgres <<< \ "update pg_database set datistemplate='false' where datname='template1';" @@ -76,28 +75,20 @@ sudo su -c "psql" postgres <<< \ sudo su -c "psql" postgres <<< \ "update pg_database set datistemplate='true' where datname='template1';" -# Create DB user mastodon -======= # Create DB without password -sudo systemctl restart postgresql ->>>>>>> refs/remotes/magikcypress/master ynh_psql_create_db_without_password "$app" # Download all Ruby source sudo git clone https://github.com/rbenv/rbenv.git $final_path/.rbenv sudo git clone https://github.com/rbenv/ruby-build.git $final_path/.rbenv/plugins/ruby-build -<<<<<<< HEAD sudo git clone https://github.com/tootsuite/mastodon.git $final_path/live -======= - # Be king rewind (/var/cache/yunohost/from_file/scripts) popd # Get Mastodon last version sudo mkdir "${final_path}/live" SETUP_SOURCE ->>>>>>> refs/remotes/magikcypress/master sudo chown -R $app: "${final_path}" # Install de rbenv @@ -212,10 +203,8 @@ fi sudo yunohost app ssowatconf # Reload Nginx -<<<<<<< HEAD sudo systemctl reload nginx || true # debug -sudo systemctl status nginx -======= -sudo systemctl reload nginx ->>>>>>> refs/remotes/magikcypress/master +# sudo systemctl status nginx +# sudo systemctl reload nginx + |
