Bug ID 980866
Summary update-scripts leave ton of leftovers
Classification openSUSE
Product openSUSE Tumbleweed
Version Current
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component libzypp
Assignee zypp-maintainers@forge.provo.novell.com
Reporter tchvatal@suse.com
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

While we now have leftover mechanism to run scripts on posttrans of packages
just once instead of for all invocations we keep the scripts that were not
executed in /var/adm/update-scripts/

Most visible it is on update scripts for font scriptlets. One of the leftovers:

dreamcrawler:/var/adm/update-scripts # cat
ghostscript-fonts-9.06-7.4-reconfigure-fonts
if [ -e /var/run/fontpackages/reconfigure-fonts ]; then
  if [ -x /usr/sbin/fonts-config ]; then
    /usr/sbin/fonts-config --quiet
  fi
  rm /var/run/fontpackages/reconfigure-fonts
fi
rm /var/adm/update-scripts/ghostscript-fonts-9.06-7.4-reconfigure-fonts

I suppose proper solution would be to run just one of the scripts, but then
delete them all and not keep any?


You are receiving this mail because: