# cat /etc/fedora-release shows:

Fedora release 7 (Moonshine)

The /usr/sbin/qtp-whatami file shows fdr70 (and fdr7064) in the lsiting.  I
also made sure to use /usr/sbin/qtp-whatami to be sure that there are no
redundant older copies somewhere that are being accessed.  I still get the
same "sorry" message.  Could it be that the "Check Fedora" section of the
script is looking for "Core" instead of just Fedora (as Core was dropped
from the distro since the release of 7)?

###################################################################
## check fedora
#
b23_fedora(){

BUILD_DIR=/usr/src/redhat

if [ "$word1" == "Fedora" ] && [ "$word2" == "Core" ]; then
  DISTRO="$word1 $word2"
  OSVER=$word4
  relnum=${word4%.*}
  case $relnum in
    8 | 7 | 6 | 5 | 4 )
      BUILD_DIST=fdr${relnum}0
      q1_distro_64
      if [ "$relnum" == 5 ]; then
        case $QTARCH in
          i386 | $ARCH64 )
            tested=y
            ;;
        esac
      fi
      ;;
    3 | 2 | 1 )
      BUILD_DIST=fdr${relnum}0
      ;;
  esac
fi
}
###################################################################

This was the issue that Natalio was addressing with the alteration of the
qtp-whatami script.  The changes made in that script where the addition of
fdr70 to the distro list at the beginning, the removal of word 2 in the
check fedora section and OSVER=$word3 relnum=${word3%.*}:

###################################################################
## check fedora
#
b23_fedora(){

BUILD_DIR=/usr/src/redhat

if [ "$word1" == "Fedora" ]; then
  DISTRO="$word1 $word2"
  OSVER=$word3
  relnum=${word3%.*}
  case $relnum in
    7 | 6 | 5 | 4 )
      BUILD_DIST=fdr${relnum}0
      q1_distro_64
      if [ "$relnum" == 5 ]; then
        case $ARCH in
          i386 | $ARCH64 )
            tested=y
            ;;
        esac
      fi
      ;;
    3 | 2 | 1 )
      BUILD_DIST=fdr${relnum}0
      ;;
  esac
fi
}
###################################################################

I have not tested this alteration yet as I fear that upgrading with the
qtp-newmodel might run into issues.

Sory for the rambling, the answer to your question is at the top...

Thank you, again,


Thomas M. Jaeger
Computer Technician, A.A.S.
[EMAIL PROTECTED]
[EMAIL PROTECTED]

-----Original Message-----
From: Eric "Shubes" [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 29, 2008 1:45 PM
To: [email protected]
Subject: Re: FW: FW: [qmailtoaster] qmailtoaster-plus-0.2.14-1.3.17 is out!

That version of qtp-whatami should recognize FC7 (keyword: should).

What does
# cat /etc/fedora-release
tell you?

Thomas M. Jaeger wrote:
> 
> I was on vacation and away for a while.  I did the qmailtoaster-plus
> update via yum (.noarch.0.3.0-1.4.0) and still get "Fedora release 7
> (Moonshine) is not supported. Sorry"  when using the qtp-newmodel
> command.  The qtp-menu also does not run and gives the message, "Your
> distro is not supported, exiting."  Should I uninstall the
> qmailtoaster-plus, remove the repository from yum and do a manual
> install of QTP?  Some of the "qtp-" commands work but (obviously) not
> all.  Regardless, I understand that Fedora is not the supported OS (or
> OS of choice) and I could go about this all manually.  Also, I have not
> yet had the chance to try Natalio's qtp-whatami changes.  I will give
> that a try once the storms have passed through New England over the next
> two days.  (I could try it remotely but fear the possible errors.)
> 
>  
> 
> Thanks, again,
>  
> 
> Thomas M. Jaeger
> 
> Computer Technician, A.A.S.
> 
> [EMAIL PROTECTED]
> 
> [EMAIL PROTECTED]
> 
>  

-- 
-Eric 'shubes'

---------------------------------------------------------------------
     QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
     QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to