From fd4ad885c04ed68dcc067193753901c4ea1c40ac Mon Sep 17 00:00:00 2001 From: simonzhangsz Date: Sun, 18 Feb 2024 11:29:51 +0800 Subject: [PATCH] fix: clear FE old index hash files --- debbuild/22.04/DEBIAN/preinst | 2 +- debbuild/DEBIAN/preinst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/debbuild/22.04/DEBIAN/preinst b/debbuild/22.04/DEBIAN/preinst index 926e223..3ee13a3 100644 --- a/debbuild/22.04/DEBIAN/preinst +++ b/debbuild/22.04/DEBIAN/preinst @@ -5,6 +5,6 @@ FERootDir=/usr/local/omc/htdocs/front # clear front-end old hash js files rm -rf ${FERootDir}/assets rm -rf ${FERootDir}/js -rm -rf index.*.js +rm -rf ${FERootDir}/index.*.js diff --git a/debbuild/DEBIAN/preinst b/debbuild/DEBIAN/preinst index 0a01c14..3698d63 100644 --- a/debbuild/DEBIAN/preinst +++ b/debbuild/DEBIAN/preinst @@ -5,4 +5,4 @@ FERootDir=/usr/local/omc/htdocs/front # clear front-end old hash js files rm -rf ${FERootDir}/assets rm -rf ${FERootDir}/js -rm -rf index.*.js +rm -rf ${FERootDir}/index.*.js