diff options
Generate script checks for folder and install script installs required apps and checks for folder.
1 files changed, 8 insertions, 0 deletions
| -rw-r--r-- | install-ssg5-lowdown.sh | 8 |
diff --git a/install-ssg5-lowdown.sh b/install-ssg5-lowdown.sh index 38b12f4..3f75b6a 100644 --- a/install-ssg5-lowdown.sh +++ b/install-ssg5-lowdown.sh @@ -1,5 +1,9 @@ +#!/bin/sh + cd /tmp +sudo apt install -y curl git make gcc + echo "Installing ssg5" curl -s https://rgz.ee/bin/ssg5 > ssg5 @@ -8,6 +12,9 @@ mv ssg5 /usr/bin/ echo "Installing lowdown" +if [ -d "lowdown" ]; then + rm -rf lowdown +fi git clone https://github.com/kristapsdz/lowdown cd lowdown/ ./configure @@ -15,3 +22,4 @@ make sudo make install echo "Done" + |