Clear module.infos in new location too

This commit is contained in:
Jamie Cameron
2017-03-13 19:42:36 -07:00
parent 2dc7d94a74
commit 4dc9188d86
2 changed files with 2 additions and 0 deletions

View File

@@ -358,6 +358,7 @@ if [ "$force_theme" != "" -a "$istheme" = "1" ]; then
(/etc/$product/stop && /etc/$product/start) >/dev/null 2>&1
fi
rm -f /etc/$product/module.infos.cache
rm -f /var/$product/module.infos.cache
# Run post-install function
if [ "$product" = "webmin" ]; then

View File

@@ -321,6 +321,7 @@ if [ "$force_theme" != "" -a "$istheme" = "1" ]; then
(/etc/$prog/stop && /etc/$prog/start) >/dev/null 2>&1
fi
rm -f /etc/$prog/module.infos.cache
rm -f /var/$prog/module.infos.cache
# Run post-install function
if [ "$prog" = "webmin" ]; then