<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>30493</bug_id>
          
          <creation_ts>2014-11-21 11:08:53 +0300</creation_ts>
          <short_desc>Обновление ppd в /etc/cups/ppd</short_desc>
          <delta_ts>2014-11-21 23:10:06 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>hplip-hpcups-PPDs</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>LATER</resolution>
          
          
          <bug_file_loc>http://forum.altlinux.org/index.php/topic,33626.0.html</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Andrey Cherepanov">cas</reporter>
          <assigned_to name="Andrey Cherepanov">cas</assigned_to>
          <cc>cas</cc>
    
    <cc>viy</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>148957</commentid>
    <comment_count>0</comment_count>
    <who name="Andrey Cherepanov">cas</who>
    <bug_when>2014-11-21 11:08:53 +0300</bug_when>
    <thetext>При обновлении ppds (из foomatic-db, hplip, gutenprint) правильнее триггером обновлять и ppd для настроенных очередей в /etc/cups/ppd.

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

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


Хорошо бы сделать подобный триггер с универсальным обновлятором на любые пакеты, содержащие файлы PPD.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>148973</commentid>
    <comment_count>1</comment_count>
    <who name="viy">viy</who>
    <bug_when>2014-11-21 23:10:06 +0300</bug_when>
    <thetext>В близжайшее время руки не дойдут :( не дойдут :(</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>