Update docs

This commit is contained in:
0d0 2025-02-25 17:06:17 +01:00
parent 3aaadc2b92
commit 760812c692
3 changed files with 24 additions and 2 deletions

View file

@ -1,5 +1,8 @@
#!/usr/bin/bash
### This is a script for installing the latest release
### of `scaricatore`.
PROJECT_ROOT=$1
if [ -z ${PROJECT_ROOT+x} ]; then
@ -9,7 +12,13 @@ fi
mkdir -p "${PROJECT_ROOT}"
cd "${PROJECT_ROOT}" || exit 1
rm -rf ./*
read -p "We're about to run rm -rf ${PROJECT_ROOT}/*. Are you sure?" -n 1 -r
if [[ $REPLY =~ ^[Yy]$ ]]
then
rm -rf ./*
fi
wget https://git.pweapon.org/odo/dl.emersa.it/releases/download/latest/build.tar.gz
tar -xvf build.tar.gz -C .
rm build.tar.gz