[Eisfair] Pack-Eis durcheinander?

Holger Bruenjes holgerbruenjes at gmx.net
Di Aug 2 21:22:35 CEST 2016


Am 2016-08-02 um 21:05 schrieb Holger Bruenjes:
> Hallo Hans-Georg
> 
> Am 2016-08-02 um 20:52 schrieb Hans-Georg Kiefer:
> 
>> ==> index.txt2 <==
> 
> welcher Server liefert die aus?
> 
> das steht in
> 
> index-list   an 2.Stelle
> 
>> # This file was automatically generated by Pack-Eis
>> # Last Database update: 2016-07-30 20:58:46
>> ### BEGIN BASE INFO
>> # required_base: 1.8.8
>> ### END BASE INFO


aendere bitte in

/var/install/bin/get-url   ab Zeile 136
und fuege die Zeile mit  '+'  hinzu


  # from index.txt, that comes not from Pack-Eis,
  # remove lines that contains 'http://www.pack-eis.de'
  if [ ${index} != ${default_index} ]
  then
      if grep -q 'http://www.pack-eis.de'
                       ${tmp_dir}/index.txt${count_number}

      then
          mv ${tmp_dir}/index.txt${count_number}
		${tmp_dir}/index.txt-tmp
          grep -v 'http://www.pack-eis.de' ${tmp_dir}/index.txt-tmp
             >${tmp_dir}/index.txt${count_number}
           rm -f ${tmp_dir}/index.txt-tmp
      fi

+      sed -i '/^#/d' ${tmp_dir}/index.txt${count_number}
  fi


Holger



Mehr Informationen über die Mailingliste Eisfair