mirror of
https://shylinux.com/x/icebergs
synced 2025-04-26 09:34:05 +08:00
opt some
This commit is contained in:
parent
b196af799c
commit
28724b07d9
@ -38,6 +38,13 @@ func _spide_create(m *ice.Message, name, address string) {
|
||||
}
|
||||
func _spide_list(m *ice.Message, arg ...string) {
|
||||
msg := mdb.HashSelects(m.Spawn(), arg[0])
|
||||
m.Debug("what %v", msg.FormatMeta())
|
||||
m.Debug("what %v", msg.Append(arg[1]))
|
||||
if len(arg) == 2 && msg.Append(arg[1]) != "" {
|
||||
m.Echo(msg.Append(arg[1]))
|
||||
return
|
||||
}
|
||||
|
||||
cache, save := "", ""
|
||||
switch arg[1] { // 缓存方法
|
||||
case SPIDE_RAW:
|
||||
|
@ -166,7 +166,7 @@ export ctx_dev={{.Option "httphost"}} ctx_pod={{.Option "user.pod"}}; ctx_temp=$
|
||||
git clone {{.Option "remote"}}; cd {{.Option "pathname"}} && source etc/miss.sh port 9020
|
||||
`,
|
||||
ice.BASE, `# 下载工具
|
||||
ctx_temp=$(mktemp); curl -o $ctx_temp -fsSL {{.Cmdx "spide" "shy" "url"}}; source $ctx_temp binary
|
||||
ctx_temp=$(mktemp); wget -O $ctx_temp -q {{.Cmdx "spide" "shy" "url"}}; source $ctx_temp binary
|
||||
ctx_temp=$(mktemp); curl -o $ctx_temp -fsSL {{.Cmdx "spide" "shy" "client.url"}}; source $ctx_temp binary
|
||||
ctx_temp=$(mktemp); wget -O $ctx_temp -q {{.Cmdx "spide" "shy" "client.url"}}; source $ctx_temp binary
|
||||
`,
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user