mirror of
https://shylinux.com/x/icebergs
synced 2025-04-26 01:24:05 +08:00
opt some
This commit is contained in:
parent
81bc8309a9
commit
b1d656fa90
@ -20,10 +20,10 @@ func init() {
|
||||
m.Cmd(mdb.ENGINE, mdb.CREATE, PY, m.PrefixKey())
|
||||
}},
|
||||
mdb.ENGINE: {Hand: func(m *ice.Message, arg ...string) {
|
||||
if !InstallSoftware(m.Spawn(), "python", m.Configv(INSTALL)) {
|
||||
if !InstallSoftware(m.Spawn(), "python2", m.Configv(INSTALL)) {
|
||||
return
|
||||
}
|
||||
m.Cmdy(cli.SYSTEM, "python", kit.Path(arg[2], arg[1]))
|
||||
m.Cmdy(cli.SYSTEM, "python2", kit.Path(arg[2], arg[1]))
|
||||
m.Echo(ice.NL)
|
||||
}},
|
||||
}, Hand: func(m *ice.Message, c *ice.Context, cmd string, arg ...string) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user