Update install.sh

Signed-off-by: Connor C <ceo@pixelridgesoftworks.com>
This commit is contained in:
Connor C 2023-10-26 18:56:08 -06:00
parent 0c482f7da3
commit 65079ccbee

View File

@ -8,7 +8,7 @@ if [ "$distro" == "Ubuntu" ]; then
if ! dpkg -s ruby-full | grep -q "Version: 3.2.2"; then
# Install rbenv and use it to install Ruby 3.0.5 and Bundler 2.4.6
if [[ $(id -u) -ne 0 ]]; then
echo "Please enter your password to install rbenv, Ruby 3.2.1, Bundler 2.4.17, and the Ruby development kit"
echo "Please enter your password to install rbenv, Ruby 3.2.2, Bundler 2.4.17, and the Ruby development kit"
exec sudo "$0" "$@"
fi
apt update
@ -48,7 +48,7 @@ sudo chown -R $(whoami):$(whoami) /usr/bin/PixelRidge-Softworks/Ruby/
sudo chmod -R +x /usr/bin/PixelRidge-Softworks/Ruby/
# Clone the repository
sudo git clone https://github.com/PixelRidge-Softworks/Ru-b2-SQL-Backups.git /usr/bin/PixelRidge-Softworks/Ruby/
sudo git clone https://git.pixelridgesoftworks.com/PixelRidge-Softworks/Ru-b2-SQL-Backups.git /usr/bin/PixelRidge-Softworks/Ruby/
# Install required gems
cd /usr/bin/PixelRidge-Softworks/Ruby/Ru-b2-SQL-Backups