Bug 30493 - Обновление ppd в /etc/cups/ppd
Summary: Обновление ppd в /etc/cups/ppd
Status: RESOLVED LATER
Alias: None
Product: Sisyphus
Classification: Development
Component: hplip-hpcups-PPDs (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: Andrey Cherepanov
QA Contact: qa-sisyphus
URL: http://forum.altlinux.org/index.php/t...
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-21 11:08 MSK by Andrey Cherepanov
Modified: 2014-11-21 23:10 MSK (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Cherepanov 2014-11-21 11:08:53 MSK
При обновлении ppds (из foomatic-db, hplip, gutenprint) правильнее триггером обновлять и ppd для настроенных очередей в /etc/cups/ppd.

Для gitenprint-CUPS такой триггер есть (но с собственным скриптом обновления):

# rpm -q gutenprint-CUPS --triggers
triggerpostun script (through /bin/sh) -- gutenprint-CUPS < 5.2.9
cups=/etc/rc.d/init.d/cups
if [ -x $cups ] && /usr/sbin/cups-genppdupdate | grep -Fqs Restart; then
        $cups condreload
fi


Хорошо бы сделать подобный триггер с универсальным обновлятором на любые пакеты, содержащие файлы PPD.
Comment 1 viy 2014-11-21 23:10:06 MSK
В близжайшее время руки не дойдут :( не дойдут :(