1
0

fix: postinst update

This commit is contained in:
2024-01-11 14:22:43 +08:00
parent f52461329d
commit 8ab8944bdb
2 changed files with 6 additions and 4 deletions

View File

@@ -42,12 +42,13 @@ systemctl enable crontask.service
systemctl enable sshsvc.service
systemctl enable captrace.service
systemctl enable adb.service
systemctl daemon-reload
chmod +rx /usr/local/omc/bin/*
chmod +rx /usr/local/omc/*
chmod +rx /usr/local/db/bin/*
chmod +rx /usr/local/bin/*
chmod -R 755 /usr/local/omc/htdocs/front
systemctl daemon-reload
for CFile in ${CFileList}; do
if [ ! -e "${OMCEtcDir}/${CFile}" ]; then
cp ${OMCEtcDir}/default/${CFile} ${OMCEtcDir};

View File

@@ -42,12 +42,13 @@ systemctl enable crontask.service
systemctl enable sshsvc.service
systemctl enable captrace.service
systemctl enable adb.service
chmod +rx /usr/local/db/bin/*
chmod +rx /usr/local/omc/*
systemctl daemon-reload
chmod +rx /usr/local/omc/bin/*
chmod +rx /usr/local/omc/*
chmod +rx /usr/local/db/bin/*
chmod +rx /usr/local/bin/*
chmod -R 755 /usr/local/omc/htdocs/front
systemctl daemon-reload
for CFile in ${CFileList}; do
if [ ! -e "${OMCEtcDir}/${CFile}" ]; then
cp ${OMCEtcDir}/default/${CFile} ${OMCEtcDir};