Summary Files Commits Branches @commit @diff @stats
path: root / install-ssg-lowdown.sh
diff options
context:
space:
mode:
1 files changed, 25 insertions, 0 deletions
-rwxr-xr-xinstall-ssg-lowdown.sh25
diff --git a/install-ssg-lowdown.sh b/install-ssg-lowdown.sh
new file mode 100755
index 0000000..9d5579a
--- /dev/null
+++ b/install-ssg-lowdown.sh
@@ -0,0 +1,25 @@
+#!/bin/sh
+
+cd /tmp
+
+sudo apt install -y curl git make gcc
+
+echo "Installing ssg (latest version)"
+
+curl -s https://rgz.ee/bin/ssg > ssg
+chmod +x ssg
+sudo mv ssg /usr/bin/
+
+echo "Installing lowdown"
+
+if [ -d "lowdown" ]; then
+ sudo rm -rf lowdown
+fi
+git clone https://github.com/kristapsdz/lowdown
+cd lowdown/
+sudo ./configure
+sudo make
+sudo make install
+
+echo "Done"
+