Skip to content

Commit

Permalink
Updates based on review
Browse files Browse the repository at this point in the history
  • Loading branch information
jwrober authored and lmoureaux committed Sep 27, 2023
1 parent 302ba51 commit c6e48f2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cmake/CPackConfig.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ if(UNIX AND NOT APPLE)
set(CPACK_COMPONENTS_GROUPING ALL_COMPONENTS_IN_ONE)
set(CPACK_DEB_COMPONENT_INSTALL "ON")
set(CPACK_DEBIAN_PACKAGE_SHLIBDEPS "ON")
set(CPACK_DEBIAN_PACKAGE_DEPENDS "fonts-linuxlibertine (>= 5.3.0), lua (>= 5.3.0)")
set(CPACK_DEBIAN_PACKAGE_DEPENDS "fonts-linuxlibertine (>= 5.3.0)")

endif()

Expand Down
7 changes: 4 additions & 3 deletions docs/Manuals/Server/fcdb.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,11 @@ Freeciv21 server. A good default location is the user's :file:`$HOME` directory.
[fcdb]
backend="sqlite"
database="/home/user/freeciv21.sqlite"
database="/home/[user]/freeciv21.sqlite"
.. note:: The username ``[user]`` should be changed to a real user.

For more information on the format of this file, see below. There are more settings available, but this file
is entirely sufficient for a SQLite3 setup.

Expand All @@ -47,7 +49,6 @@ storing passwords with MD5 hashes.
.. code-block:: sh
$ sudo apt install luarocks lua5.3 liblua5.3-dev libsqlite3-dev
$ lua -v # output should be 5.3.x
$ eval $(luarocks path --bin --lua-version 5.3)
$ luarocks --local --lua-version 5.3 install md5
$ luarocks --local --lua-version 5.3 install luasql-sqlite3
Expand Down Expand Up @@ -78,7 +79,7 @@ command:
/fcdb lua sqlite_createdb()
You should now see a :file:`/home/user/freeciv21.sqlite` file as per the same path given in the
You should now see a :file:`/home/[user]/freeciv21.sqlite` file as per the same path given in the
:file:`fc_auth.conf` file.

At this time you are ready to create some users by connecting with the client. Due to the :code:`--Newusers`
Expand Down

0 comments on commit c6e48f2

Please sign in to comment.