mirror of
https://github.com/bjango/istatserverlinux.git
synced 2025-10-21 15:08:08 +00:00
Update get-istatserver.sh
This commit is contained in:
@@ -2,13 +2,9 @@
|
|||||||
set -e
|
set -e
|
||||||
|
|
||||||
# This script is meant for quick & easy install via:
|
# This script is meant for quick & easy install via:
|
||||||
# $ curl -fsSL https://files.bjango.com/istatserverlinux/istatserverlinux.sh -o istatserverlinux.sh
|
# $ curl -fsSL https://raw.githubusercontent.com/bjango/istatserverlinux/master/get-istatserver.sh
|
||||||
# $ sh istatserverlinux.sh
|
# $ sh get-istatserver.sh
|
||||||
#
|
#
|
||||||
# NOTE: Make sure to verify the contents of the script
|
|
||||||
# you downloaded matches the contents of istatserverlinux.sh
|
|
||||||
# located at https://github.com/bjango/istatserverlinux
|
|
||||||
# before executing.
|
|
||||||
|
|
||||||
command_exists() {
|
command_exists() {
|
||||||
command -v "$@" > /dev/null 2>&1
|
command -v "$@" > /dev/null 2>&1
|
||||||
@@ -172,11 +168,11 @@ istat_pls() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Downloading istatserver"
|
echo "Downloading istatserver"
|
||||||
$sh_c "curl -fsSL https://download.bjango.com/istatserverlinux -o istatserverlinux.tar.gz"
|
$sh_c "curl -fsSL https://github.com/bjango/istatserverlinux/archive/master.tar.gz -o istatserverlinux.tar.gz"
|
||||||
|
|
||||||
echo "Extracting istatserver"
|
echo "Extracting istatserver"
|
||||||
$sh_c "tar -zxf istatserverlinux.tar.gz"
|
$sh_c "tar -zxf istatserverlinux.tar.gz"
|
||||||
$sh_c "mv istatserver-* istatserverlinux"
|
$sh_c "mv istatserverlinux-* istatserverlinux"
|
||||||
|
|
||||||
echo "Building istatserver"
|
echo "Building istatserver"
|
||||||
$sh_c "cd istatserverlinux && ./autogen > /dev/null"
|
$sh_c "cd istatserverlinux && ./autogen > /dev/null"
|
||||||
|
Reference in New Issue
Block a user