Skip to content

Commit

Permalink
Merge pull request #72 from Native-Planet/nallux_dev
Browse files Browse the repository at this point in the history
fixed permission issues in install script
  • Loading branch information
nallux-dozryl authored Dec 8, 2022
2 parents 1fbe59c + 0c92a7b commit e2a0baf
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions release/standard_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ BRANCH=main

DIST="$(. /etc/os-release && echo "$ID")"

mkdir -p /tmp/nativeplanet
echo $DIST

sudo mkdir -p /tmp/nativeplanet

if [[ "$DIST" == "linuxmint" ]]
then
Expand All @@ -19,18 +21,18 @@ then
sudo apt update
sudo apt install docker-ce docker-ce-cli containerd.io
else
wget -O /tmp/nativeplanet/docker_install.sh https://get.docker.com/
chmod +x /tmp/nativeplanet/docker_install.sh
sudo wget -O /tmp/nativeplanet/docker_install.sh https://get.docker.com/
sudo chmod +x /tmp/nativeplanet/docker_install.sh
sudo /tmp/nativeplanet/docker_install.sh
fi

systemctl enable docker
systemctl start docker
sudo systemctl enable docker
sudo systemctl start docker

wget -O /tmp/nativeplanet/groundseg_install.sh \
sudo wget -O /tmp/nativeplanet/groundseg_install.sh \
https://raw.githubusercontent.com/$ACC/$REPO/$BRANCH/release/groundseg_install.sh

chmod +x /tmp/nativeplanet/groundseg_install.sh
sudo chmod +x /tmp/nativeplanet/groundseg_install.sh
sudo /tmp/nativeplanet/groundseg_install.sh

rm -r /tmp/nativeplanet
sudo rm -r /tmp/nativeplanet

0 comments on commit e2a0baf

Please sign in to comment.