1
0

fix:pre install clear old files

This commit is contained in:
2024-02-18 11:16:25 +08:00
parent f058e3ee3b
commit 3b273be5d0
2 changed files with 10 additions and 2 deletions

View File

@@ -1,5 +1,10 @@
# !/bin/sh
FERootDir=/usr/local/omc/htdocs/front
# apt-get install zip
# clear front-end old hash js files
rm -rf ${FERootDir}/assets
rm -rf ${FERootDir}/js
rm -rf index.*.js

View File

@@ -1,5 +1,8 @@
# !/bin/sh
FERootDir=/usr/local/omc/htdocs/front
# apt-get install zip
# clear front-end old hash js files
rm -rf ${FERootDir}/assets
rm -rf ${FERootDir}/js
rm -rf index.*.js