installdash does a apt update and ii->find will go in state 6

pull/14/head
Tom Early 6 years ago
parent 2d766df589
commit 0682f01e9d

@ -1,4 +1,4 @@
# Copyright (c) 2018-2019 by Thomas A. Early N7TAE # Copyright (c) 2018-2020 by Thomas A. Early N7TAE
# #
# This program is free software: you can redistribute it and/or modify # This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
@ -171,6 +171,7 @@ installdtmf : qndtmf
systemctl start qndtmf.service systemctl start qndtmf.service
installdash : index.php installdash : index.php
/usr/bin/apt update
/usr/bin/apt install -y php-common php-fpm sqlite3 php-sqlite3 /usr/bin/apt install -y php-common php-fpm sqlite3 php-sqlite3
mkdir -p $(WWWDIR) mkdir -p $(WWWDIR)
/bin/ln -f -s $(shell pwd)/index.php $(WWWDIR) /bin/ln -f -s $(shell pwd)/index.php $(WWWDIR)

@ -554,7 +554,7 @@ int CQnetGateway::get_yrcall_rptr(const std::string &call, std::string &rptr, st
return 0; return 0;
/* at this point, the data is not in cache */ /* at this point, the data is not in cache */
if (7 == ii[i]->getConnectionState()) { if (ii[i]->getConnectionState() > 5) {
/* request data from irc server */ /* request data from irc server */
if (RoU == 'U') { if (RoU == 'U') {
printf("User [%s] not in local cache, try again\n", call.c_str()); printf("User [%s] not in local cache, try again\n", call.c_str());

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2016-2018 by Thomas A. Early N7TAE * Copyright (C) 2016-2020 by Thomas A. Early N7TAE
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
@ -246,7 +246,7 @@ void CAPRS::Open(const std::string OWNER)
/* login to aprs */ /* login to aprs */
//sprintf(snd_buf, "user %s pass %d vers QnetGateway 9 UDP 5 ", OWNER.c_str(), m_rptr->aprs_hash); //sprintf(snd_buf, "user %s pass %d vers QnetGateway 9 UDP 5 ", OWNER.c_str(), m_rptr->aprs_hash);
sprintf(snd_buf, "user %s pass %d vers QnetGateway 9 ", OWNER.c_str(), m_rptr->aprs_hash); sprintf(snd_buf, "user %s pass %d vers QnetGateway-9 ", OWNER.c_str(), m_rptr->aprs_hash);
/* add the user's filter */ /* add the user's filter */
if (m_rptr->aprs_filter.length()) { if (m_rptr->aprs_filter.length()) {

Loading…
Cancel
Save

Powered by TurnKey Linux.