2
0

feat: init build release

This commit is contained in:
simonzhangsz
2024-12-12 18:10:43 +08:00
parent 4f075ae506
commit 60a8af09be
43 changed files with 1048 additions and 1 deletions

16
debbuild/DEBIAN/preinst Normal file
View File

@@ -0,0 +1,16 @@
# !/bin/bash
systemctl daemon-reload
if systemctl list-units --type=service --all | grep -q 'restagent.service'; then
echo -n "Stopping WFC service ... "
systemctl stop restagent.service
echo "done"
fi
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 ${FERootDir}/index.*.js