From e32371da16b43367d97fc0e7487d3af90eecb966 Mon Sep 17 00:00:00 2001 From: shylinux Date: Sat, 11 Mar 2023 11:44:57 +0800 Subject: [PATCH] opt some --- etc/miss.sh | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/etc/miss.sh b/etc/miss.sh index 10e13fe8..73f43792 100644 --- a/etc/miss.sh +++ b/etc/miss.sh @@ -1,13 +1,11 @@ #!/bin/sh -# if [ -f $PWD/.ish/plug.sh ]; then source $PWD/.ish/plug.sh; elif [ -f $HOME/.ish/plug.sh ]; then source $HOME/.ish/plug.sh; else -# export ctx_dev=${ctx_dev:="https://shylinux.com"} -# temp=$(mktemp); if curl -h &>/dev/null; then curl -o $temp -fsSL $ctx_dev; else wget -O $temp -q $ctx_dev; fi; source $temp intshell -# fi +if [ -f $PWD/.ish/plug.sh ]; then source $PWD/.ish/plug.sh; elif [ -f $HOME/.ish/plug.sh ]; then source $HOME/.ish/plug.sh; else + export ctx_dev=${ctx_dev:="https://shylinux.com"} + temp=$(mktemp); if curl -h &>/dev/null; then curl -o $temp -fsSL $ctx_dev; else wget -O $temp -q $ctx_dev; fi; source $temp intshell + require conf.sh; require miss.sh; ish_dev_git_prepare +fi -require miss.sh -require sys/sys.sh -require sys/dev.sh ish_miss_prepare_compile ish_miss_prepare_develop ish_miss_prepare_project @@ -19,7 +17,6 @@ ish_miss_prepare_toolkits ish_miss_prepare_volcanos ish_miss_prepare_learning ish_miss_prepare release - ish_miss_prepare linux-story ish_miss_prepare nginx-story ish_miss_prepare golang-story