1
0
mirror of https://shylinux.com/x/icebergs synced 2025-04-26 09:34:05 +08:00
This commit is contained in:
IT 老营长 @云轩领航-创始人 2023-11-08 17:57:44 +08:00
parent 409dd40848
commit d9f1ec7bfc
2 changed files with 33 additions and 32 deletions

View File

@ -156,6 +156,7 @@ const ( // DIR
BIN_ICE_BIN = "bin/ice.bin"
ETC_INIT_SHY = "etc/init.shy"
ETC_LOCAL_SHY = "etc/local.shy"
ETC_PRIVATE_SHY = "etc/private.shy"
ETC_EXIT_SHY = "etc/exit.shy"
ETC_MISS_SH = "etc/miss.sh"
ETC_PATH = "etc/path"

View File

@ -231,7 +231,7 @@ func _repos_status(m *ice.Message, p string, repos *git.Repository) error {
return err
}
for k, v := range status {
if kit.IsIn(k, ice.SRC_VERSION_GO, ice.SRC_BINPACK_GO, ice.ETC_LOCAL_SHY) {
if kit.IsIn(k, ice.SRC_VERSION_GO, ice.SRC_BINPACK_GO, ice.ETC_LOCAL_SHY, ice.ETC_PRIVATE_SHY) {
continue
} else if kit.IsIn(kit.Ext(k), "swp", "swo") || kit.HasPrefix(k, nfs.BIN, nfs.VAR, nfs.USR) && !strings.HasPrefix(k, ice.USR_LOCAL_EXPORT) {
continue