hiramvillarreal / iotpos

IotPOS, an open source Point of Sale software.
GNU General Public License v2.0
146 stars 77 forks source link

Install script stop at line 9 #19

Closed hiramvillarreal closed 6 years ago

hiramvillarreal commented 6 years ago

Hello it seem before line 9 the terminal user is root so at ~cd go to /root:

./install.sh: line 9: cd: iotpos: No such file or directory begin build CMake Error: The source directory "/root" does not appear to contain CMakeLists.txt. Specify --help for usage, or press the help button on the CMake GUI. make: No targets specified and no makefile found. Stop. installing IOTPOS make: No rule to make target 'install'. Stop. install complete now to setup database ./install.sh: line 18: cd: /root/iotpos/database_resources: No such file or directory cat: iotpos_mysql.sql: No such file or directory Enter password: all done :)

Shaggs commented 6 years ago

Yeah I've just seen that when installing again stand-by for fix

Shaggs commented 6 years ago

Fix found remove following lines from install.sh

cd ~ cd iotpos

As we are already in that folder no need to get out and back in again

hiramvillarreal commented 6 years ago

Thanks buddy