install2
This commit is contained in:
+5
-3
@@ -15,10 +15,12 @@ function install {
|
||||
echo INSTALL
|
||||
MIAOU_BASH_DIR=/opt/miaou-bash
|
||||
export MIAOU_BASH_DIR
|
||||
cd /tmp
|
||||
|
||||
curl -sO $MAIN_TAR_GZ_URL
|
||||
sudo tar -xzf main.tar.gz --directory "$(dirname "$MIAOU_BASH_DIR")"
|
||||
local tempfile
|
||||
tempfile="/tmp/$(basename "$MAIN_TAR_GZ_URL")"
|
||||
|
||||
curl -sO $MAIN_TAR_GZ_URL -o "$tempfile"
|
||||
sudo tar -xzf "$tempfile" --directory "$(dirname "$MIAOU_BASH_DIR")"
|
||||
execute_miaou_lib initiate
|
||||
|
||||
source /etc/profile
|
||||
|
||||
Reference in New Issue
Block a user