Removed unneeded sudo

This commit is contained in:
Gonzalo Martinez 2024-08-28 15:48:56 -03:00 committed by GitHub
parent c4e8a1cf96
commit b718e7bed6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -8,7 +8,7 @@ outputDirectory="/opt/Proxmox-Cloud-Image-Importer"
if ! [ -x "$(command -v git)" ]; then
echo "Installing Git... \n\n"
sudo apt-get install git -y
apt-get install git -y
else
echo "Git is already installed. Skipping... \n\n"
fi
@ -16,7 +16,7 @@ fi
if ! [ -x "$(command -v pip3)" ]; then
echo "Installing Python3 Pip... \n\n"
sudo apt-get install python3-pip -y
apt-get install python3-pip -y
else
echo "Python3 Pip is already installed. Skipping... \n\n"
fi
@ -44,4 +44,4 @@ ln -s $outputDirectory/cloud-import.py /usr/bin/local/cloud-import && chmod +x $
echo "Installed!! Run with 'cloud-import' \n"
echo "If you want to update, run \"cd $outputDirectory && git pull\".\n\n"
cd $currentDirectory
cd $currentDirectory