Ignore:
Timestamp:
03/11/14 00:11:42 (5 months ago)
Author:
Kris Moore <kris@…>
Branches:
master, releng/10.0.1, releng/10.0.2
Children:
d2de2d0
Parents:
2aba8c5
Message:

Add a new PCBSDVERSION #define, which will be set to the current PC-BSD
specific version number we are creating. This number may differ from the
FreeBSD base version when we roll updated ISOs or quarterly package
updates. I.E. 10.0.1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-qt4/about-gui/mainwindow.cpp

    r1a4fc7a r695798b  
    2424#include "mainwindow.h" 
    2525#include "ui_mainwindow.h" 
     26#include "../config.h" 
    2627 
    2728#include <QProcess> 
     
    8687 
    8788    // pcbsd version 
    88     Ver = pcbsd::Utils::runShellCommand("uname -r").at(0); 
    89     ui->VersionLabel->setText(Ver+" ("+Arch+")"); 
     89    ui->VersionLabel->setText(PCBSDVERSION); 
     90 
     91    // Utils version 
     92    ui->UtilsLabel->setText(pcbsd::Utils::runShellCommand("pkg query '%v' pcbsd-utils-qt4").at(0).section("'", 1, 1)); 
    9093 
    9194    QString PkgSet = pcbsd::Utils::getValFromPCBSDConf("PACKAGE_SET"); 
     95    PkgSet="PRODUCTION"; 
    9296    if (PkgSet.toUpper().trimmed() == "EDGE") 
    9397    { 
     98        PkgSet="EDGE"; 
    9499        PkgSet+=QString(" ") + tr("(unstable)"); 
    95100    } 
Note: See TracChangeset for help on using the changeset viewer.