From bf0fef631f39616ed455cc9face32cacdda16172 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Tue, 19 May 2020 19:24:47 +0200 Subject: [PATCH] remove not needed retrieving admin generated password --- scripts/install | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/scripts/install b/scripts/install index 32cb94e..8b36e56 100644 --- a/scripts/install +++ b/scripts/install @@ -206,13 +206,10 @@ pushd "$final_path/live" RAILS_ENV=production bundle exec rails db:setup --quiet RAILS_ENV=production bundle exec rails assets:precompile --quiet RAILS_ENV=production bundle exec rake mastodon:webpush:generate_vapid_key > key.txt - RAILS_ENV=production bin/tootctl accounts create "$admin" --email="$admin_mail" --confirmed --role=admin > acc.txt + RAILS_ENV=production bin/tootctl accounts create "$admin" --email="$admin_mail" --confirmed --role=admin > /dev/null RAILS_ENV=production bin/tootctl accounts modify "$admin" --approve popd -admin_pass=$( tail -1 $final_path/live/acc.txt | head -1 | cut -c 15- ) -ynh_secure_remove --file="$final_path/live/acc.txt" - vapid_private_key=$(grep -oP "VAPID_PRIVATE_KEY=\K.+" "$final_path/live/key.txt") vapid_public_key=$(grep -oP "VAPID_PUBLIC_KEY=\K.+" "$final_path/live/key.txt")