From 4dc9188d86368cb89126b511d77f8480efcf6c21 Mon Sep 17 00:00:00 2001 From: Jamie Cameron Date: Mon, 13 Mar 2017 19:42:36 -0700 Subject: [PATCH] Clear module.infos in new location too --- makemoduledeb.pl | 1 + makemodulerpm.pl | 1 + 2 files changed, 2 insertions(+) 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