Verified Commit 75a31d03 authored by Aral Balkan's avatar Aral Balkan
Browse files

Update Indie Web Server installation script for better compatibility

(Replace unzip with gzip and tar which are present as standard on nearly all Linux distributions as well as on macOS.)
parent f91958ae
......@@ -19,10 +19,10 @@ echo " 📡 Downloading Indie Web Server v8.0.0…"
if [[ "$OSTYPE" == "linux-gnu" ]]; then
# Linux
wget -q
wget -q
elif [[ "$OSTYPE" == "darwin"* ]]; then
# macOS
wget -q
wget -q
# Unsupported
echo "\n ❌ Error: this operating system is not supported.\n"
......@@ -30,10 +30,10 @@ else
echo " 📦 Installing…"
unzip > /dev/null
chmod +x web-server > /dev/null
gzip -d 8.0.0.tar.gz
tar -xvf 8.0.0.tar > /dev/null
sudo mv web-server /usr/local/bin/
rm 8.0.0.tar
echo " 🎉 Done!"
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment