Skip to content

Commit

Permalink
tidy up installer
Browse files Browse the repository at this point in the history
  • Loading branch information
kreynoldsf5 committed Mar 28, 2024
1 parent 2cbd202 commit ae5b524
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions orijen-udf-install.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/bin/bash

# Update the system
sudo export DEBIAN_FRONTEND=noninteractive
sudo apt-get update -y
sudo apt-get upgrade -y
export DEBIAN_FRONTEND=noninteractive
sudo -E apt-get update -y
sudo -E apt-get upgrade -y

# Check if Docker is installed, install it if it's not
if ! command -v docker &> /dev/null
Expand All @@ -22,7 +22,7 @@ SERVICE=orijen-udf.service
CONTAINER=orijen-udf

# Preliminarily pull the Docker image
sudo -E docker pull $IMAGE
sudo docker pull $IMAGE

# Create the systemd service file
sudo bash -c "cat > /etc/systemd/system/$SERVICE <<EOF
Expand Down

0 comments on commit ae5b524

Please sign in to comment.