mirror of
https://shylinux.com/x/icebergs
synced 2025-06-26 18:37:29 +08:00
opt some
This commit is contained in:
parent
5959576cd7
commit
70463d2a6e
@ -145,6 +145,7 @@ func init() {
|
|||||||
m.Cmdy(DIR, arg)
|
m.Cmdy(DIR, arg)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
m.Info("dir_root: %v", m.Option(DIR_ROOT))
|
||||||
_cat_list(m, arg[0])
|
_cat_list(m, arg[0])
|
||||||
}},
|
}},
|
||||||
}})
|
}})
|
||||||
|
@ -56,7 +56,7 @@ func _status_tags(m *ice.Message) {
|
|||||||
if len(ls) < 2 || !strings.Contains(ls[0], ice.PS) || !strings.Contains(ls[1], ice.PT) {
|
if len(ls) < 2 || !strings.Contains(ls[0], ice.PS) || !strings.Contains(ls[1], ice.PT) {
|
||||||
return text
|
return text
|
||||||
}
|
}
|
||||||
if v, ok := vs[kit.Slice(strings.Split(ls[0], ice.PT), -1)[0]]; ok && ls[1] != v {
|
if v, ok := vs[kit.Slice(strings.Split(ls[0], ice.PS), -1)[0]]; ok && ls[1] != v {
|
||||||
m.Info("upgrade to %v %v from %v", ls[0], ls[1], v)
|
m.Info("upgrade to %v %v from %v", ls[0], ls[1], v)
|
||||||
text = ice.TB + ls[0] + ice.SP + v
|
text = ice.TB + ls[0] + ice.SP + v
|
||||||
change = true
|
change = true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user