diff --git a/makemoduledeb.pl b/makemoduledeb.pl index 8424d78b2..46ce12489 100755 --- a/makemoduledeb.pl +++ b/makemoduledeb.pl @@ -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 diff --git a/makemodulerpm.pl b/makemodulerpm.pl index f9e46b828..97eafcdf6 100755 --- a/makemodulerpm.pl +++ b/makemodulerpm.pl @@ -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