Update install.sh
This commit is contained in:
parent
0eb7218063
commit
79153b6b78
1 changed files with 1 additions and 9 deletions
|
@ -185,18 +185,10 @@ fi
|
|||
curl --location "$URL" -o ./runtipi-cli
|
||||
chmod +x ./runtipi-cli
|
||||
|
||||
# Check if user is in docker group
|
||||
if [ "$(id -u)" -ne 0 ]; then
|
||||
if ! groups | grep -q docker; then
|
||||
sudo usermod -aG docker "$USER"
|
||||
newgrp docker
|
||||
fi
|
||||
fi
|
||||
|
||||
# Check if git is installed
|
||||
if ! command -v git >/dev/null; then
|
||||
echo "Git is not installed. Please install git and restart the script."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
./runtipi-cli start
|
||||
sudo ./runtipi-cli start
|
||||
|
|
Loading…
Add table
Reference in a new issue