diff --git a/scripts/install b/scripts/install index 2e6f5a1..89336f5 100644 --- a/scripts/install +++ b/scripts/install @@ -78,7 +78,7 @@ sudo mkdir -p $final_path/app sudo mv $final_path/index.php $final_path/app/index.php sudo mv $final_path/data $final_path/app/data sudo mv $final_path/rainloop $final_path/app/rainloop -sudo sed -i "s@index.php@app/@g" $final_path/sso.php +sudo sed -i "s@index.php@app/index.php@g" $final_path/sso.php sudo mv $final_path/sso.php $final_path/index.php # Set permissions to rainloop directory diff --git a/scripts/upgrade b/scripts/upgrade index 75f7c88..a677c78 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -45,7 +45,7 @@ sudo mkdir -p $final_path/app sudo mv $final_path/index.php $final_path/app/index.php sudo mv $final_path/data $final_path/app/data sudo mv $final_path/rainloop $final_path/app/rainloop -sudo sed -i "s@index.php@app/@g" $final_path/sso.php +sudo sed -i "s@index.php@app/index.php@g" $final_path/sso.php sudo mv $final_path/sso.php $final_path/index.php # Make app public if necessary