Summary Files Commits Branches @commit @diff @stats
path: root / install-ssg5-lowdown.sh
diff options
context:
space:
mode:
Commit499b1bc459856f9fe1c4b3a3d7a8f079212fb37c (patch)
Author
 Syndamia <kamen.d.mladenov@protonmail.com>
2020-07-22 13:07:42 +0300
Committer
 Syndamia <kamen.d.mladenov@protonmail.com>
2020-07-22 13:07:42 +0300
Filesa070bd01d4d697a1af5dd24bdea83e7babe6d3ff /install-ssg5-lowdown.sh
syndamia.com-499b1bc459856f9fe1c4b3a3d7a8f079212fb37c.tar
syndamia.com-499b1bc459856f9fe1c4b3a3d7a8f079212fb37c.tar.gz
syndamia.com-499b1bc459856f9fe1c4b3a3d7a8f079212fb37c.zip
Parent8e5422939900ca35902758addf5d1b3fa6ff2502 (diff)
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.sh8
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"
+