From 3fdecd630ba622fdb138546920ec22993d632cf9 Mon Sep 17 00:00:00 2001 From: Yalh Date: Tue, 22 Jan 2019 14:19:09 +0100 Subject: [PATCH] remove not needed file first_run.exp --- conf/first_run.exp | 64 ---------------------------------------------- 1 file changed, 64 deletions(-) delete mode 100755 conf/first_run.exp diff --git a/conf/first_run.exp b/conf/first_run.exp deleted file mode 100755 index ee1b7fb..0000000 --- a/conf/first_run.exp +++ /dev/null @@ -1,64 +0,0 @@ -#!/usr/bin/expect - -set final_path [lindex $argv 0] -set domain [lindex $argv 1] -set blog_name [lindex $argv 2] -set admin [lindex $argv 3] -set email [lindex $argv 4] -set port [lindex $argv 5] - - -cd $final_path -export PATH="$PATH:/root/.cargo/bin:$final_path/.local/bin:/usr/local/sbin" - -spawn cargo run - -expect "First let's check that you have all the required dependencies. Press Enter to start." - -send "\r"; - -expect "Password:" - -send {__PASSWORD__}; - -send "\r"; - -expect "Do you prefer a simple setup, or to customize everything? - 1 - Simple setup - 2 - Complete setup" - -send "2\r"; - -expect "What is your instance domain?" - -send "$domain\r"; - -expect "What is your instance name?" - -send "$blog_name\r"; - -expect "What is your username? (default: admin)" - -send "$admin\r"; - -expect "What is your email?" - -send "$email\r"; - -expect "What is your password?" - -send {__ADMIN_PASS__}; - -send "\r"; - -expect "On which port should Plume listen? (default: 7878)" - -send "$port\r"; - -expect "On which address should Plume listen? (default: 0.0.0.0)" - -send "127.0.0.1\r"; - -sleep 10 - -interact