diff --git a/pym/install/variables/X11.py b/pym/install/variables/X11.py index b0456b7..63fda8d 100644 --- a/pym/install/variables/X11.py +++ b/pym/install/variables/X11.py @@ -416,7 +416,10 @@ class VariableClSplashImageHash(ReadonlyVariable): Контрольные суммы изображений для splashutils """ hash_files = ("/etc/splash/calculate/images/verbose.md5", - "/etc/splash/calculate/images/silent.md5") + "/etc/splash/calculate/images/silent.md5", + "/usr/share/plymouth/themes/calculate/boot.md5", + "/usr/share/plymouth/themes/calculate/boot/md5sum", + "/usr/share/plymouth/themes/calculate/calculate.plymouth") cfg_files = "/etc/splash/calculate/*.cfg" @@ -426,7 +429,7 @@ class VariableClSplashImageHash(ReadonlyVariable): def get_hash_data(self, sources): data = [] for fn in sources: - data.append(readFile(fn) or "-") + data.append(self.get_config_md5(fn)) for fn in glob.glob(self.cfg_files): data.append(self.get_config_md5(fn)) break