1
0
mirror of https://shylinux.com/x/icebergs synced 2025-06-27 02:37:31 +08:00
This commit is contained in:
shylinux 2021-11-10 22:36:50 +08:00
parent 5959576cd7
commit 70463d2a6e
2 changed files with 2 additions and 1 deletions

View File

@ -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])
}}, }},
}}) }})

View File

@ -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