ViewTouch / viewtouch

ViewTouch Point of Sale (PoS) - official
http://www.viewtouch.com
GNU General Public License v3.0
170 stars 47 forks source link

A couple of small omissions during startup reported in the file: error_log.txt #119

Closed GeneMosher closed 3 years ago

GeneMosher commented 3 years ago

These are not code errors introduced during refactoring. There are omissions in the program boot sequence which have been around for quite a while.

Background: When ViewTouch starts, the following subdirectories are created in /usr/viewtouch/dat/ if they don't exist:

When ViewTouch starts these directories should also be created

and ViewTouch should execute this command if the file: /usr/viewtouch/dat/tables.dat doesn't exist. wget2 -P /usr/viewtouch/dat http://www.viewtouch.com/tables.dat

wget2 is GNU's rewrite of wget. It is available in Debian and in Raspbian. https://guix.gnu.org/packages/wget2-1.99.2/