1
0

ref: 打包脚本调整

This commit is contained in:
TsMask
2025-03-20 18:38:19 +08:00
parent 5160e85804
commit e363529519
4 changed files with 72 additions and 9 deletions

View File

@@ -95,12 +95,12 @@ ReleaseFileName=omc-r${VERSION}-${Date}-${OS_NAME}-${PACKAGE_ARCH}.${PACKAGE_MAN
# ===================
# 应用文件处理
# 应用文件处理 ./位于临时目录
app() {
# 数据库脚本 common属于重建脚本
modeList="standard lite"
for v in ${modeList}; do
path=$BuildDir/usr/local/etc/omc/database/${v}
path=./usr/local/etc/omc/database/${v}
cp -rf $path/common/* $path/install/
cp -rf $path/common/* $path/upgrade/
rm -rf $path/common