1
0
mirror of https://shylinux.com/x/icebergs synced 2025-04-26 17:44:05 +08:00
This commit is contained in:
IT 老营长 @云轩领航-创始人 2022-02-21 11:21:57 +08:00
parent 81bc8309a9
commit b1d656fa90

View File

@ -20,10 +20,10 @@ func init() {
m.Cmd(mdb.ENGINE, mdb.CREATE, PY, m.PrefixKey()) m.Cmd(mdb.ENGINE, mdb.CREATE, PY, m.PrefixKey())
}}, }},
mdb.ENGINE: {Hand: func(m *ice.Message, arg ...string) { 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 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) m.Echo(ice.NL)
}}, }},
}, Hand: func(m *ice.Message, c *ice.Context, cmd string, arg ...string) { }, Hand: func(m *ice.Message, c *ice.Context, cmd string, arg ...string) {