Re: what makes a package get i386 on x86_64?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Mar 15, 2007 at 11:05:20PM -0400, Jesse Keating wrote:
> > Otherwise, what's the solution?
> I'm not sure :/

  %ifarch i386
  %post
  cat << EOF > /etc/cron.daily/ditch386.sh
  #!/bin/bash
  if [ "$( rpm -q festival.i386 --qf 'true')" == "true" ]; then
  if [ "$( rpm -q festival.x86_64 --qf 'true')" == "true" ]; then
     rpm -e festival.i386
     if [ "$( rpm -q festival.i386 --qf 'true')" != "true" ]; then  
       rm /etc/cron.daily/ditch386.sh
  fi; fi; fi  
  EOF
  chmod +x /etc/cron.daily/ditch386.sh

  %endif


Okay, I should go to sleep.

:)


-- 
Matthew Miller           mattdm@xxxxxxxxxx          <http://mattdm.org/>
Boston University Linux      ------>              <http://linux.bu.edu/>

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux