Summary Files Commits Branches @commit @diff @stats
path: root / install-ssg-lowdown.sh
blob: 9d5579a93bb1b0d312b0538a5f272635e98e30fd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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"