Update docs
This commit is contained in:
parent
3aaadc2b92
commit
760812c692
3 changed files with 24 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue