Summary Files Commits Branches @commit @diff @stats
diff options
context:
space:
mode:
2 files changed, 6 insertions, 6 deletions
-rw-r--r--generate.sh4
-rw-r--r--install-ssg5-lowdown.sh8
diff --git a/generate.sh b/generate.sh
index 4b98525..6717ad8 100644
--- a/generate.sh
+++ b/generate.sh
@@ -3,5 +3,5 @@
if [ ! -d "website" ]; then
sudo -u www-data mkdir website
fi
-rm -rf website/.files
-ssg5 src website "Syndamia" "https://www.syndamia.com"
+sudo rm -f website/.files
+sudo ssg5 src website "Syndamia" "https://www.syndamia.com"
diff --git a/install-ssg5-lowdown.sh b/install-ssg5-lowdown.sh
index 3f75b6a..462b0d3 100644
--- a/install-ssg5-lowdown.sh
+++ b/install-ssg5-lowdown.sh
@@ -8,17 +8,17 @@ echo "Installing ssg5"
curl -s https://rgz.ee/bin/ssg5 > ssg5
chmod +x ssg5
-mv ssg5 /usr/bin/
+sudo mv ssg5 /usr/bin/
echo "Installing lowdown"
if [ -d "lowdown" ]; then
- rm -rf lowdown
+ sudo rm -rf lowdown
fi
git clone https://github.com/kristapsdz/lowdown
cd lowdown/
-./configure
-make
+sudo ./configure
+sudo make
sudo make install
echo "Done"