Summary: | wrong %postun breaks upgrade | ||
---|---|---|---|
Product: | Sisyphus | Reporter: | Sergey Vlasov <vsu> |
Component: | ms-fonts-ttf | Assignee: | Vyacheslav Dikonov <slava> |
Status: | CLOSED FIXED | QA Contact: | qa-sisyphus |
Severity: | major | ||
Priority: | P2 | ||
Version: | unstable | ||
Hardware: | all | ||
OS: | Linux |
Description
Sergey Vlasov
2004-02-12 17:03:37 MSK
в vera-fonts-ttf (#3691) сделал так: %post %_bindir/fc-cache %ttfdir %_sbindirchkfontpath -q --add %ttfdir %postun if [ "$1" = "0" ]; then %_sbindirchkfontpath -q --remove %ttfdir ||: fi %triggerpostun -- %name < 1.10-alt2 echo "Fixing faulty fontpath removal in 1.10-alt1" %_bindir/fc-cache %ttfdir %_sbindirchkfontpath -q --add %ttfdir эээ... даже так (thanks vsu): %post %_bindir/fc-cache %ttfdir ||: %_sbindir/chkfontpath -q --add %ttfdir ||: %postun if [ "$1" = "0" ]; then %_sbindir/chkfontpath -q --remove %ttfdir ||: fi %triggerpostun -- %name < 1.10-alt2 %_sbindir/chkfontpath -q --add %ttfdir ||: Исправления внесены. seems to be fixed |