Repair final prompt to correctly start the program
This commit is contained in:
parent
cf7a13388a
commit
19feb229c3
|
@ -54,7 +54,8 @@ sudo chmod -R +x /usr/bin/PixelatedStudios/Ruby/
|
||||||
# Prompt user to run the program for the first time
|
# Prompt user to run the program for the first time
|
||||||
read -p "Do you want to run the program for the first time? (y/n) " answer
|
read -p "Do you want to run the program for the first time? (y/n) " answer
|
||||||
if [[ $answer =~ ^[Yy]$ ]]; then
|
if [[ $answer =~ ^[Yy]$ ]]; then
|
||||||
ruby run_backup.rb
|
cd /usr/bin/PixelatedStudios/Ruby/Ru-b2-SQL-Backups
|
||||||
|
ruby starter.rb
|
||||||
else
|
else
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue
Block a user