diff --git a/debian/fabaccess-bffh-src/debian/postinst b/debian/fabaccess-bffh-src/debian/postinst index b767848..a2db2cc 100755 --- a/debian/fabaccess-bffh-src/debian/postinst +++ b/debian/fabaccess-bffh-src/debian/postinst @@ -50,12 +50,12 @@ echo -e " - please check the CHANGELOG for latest modifications to the server at echo -e " - further information about configuration and usage can be found at \e[36mhttps://fab-access.org/configure\e[0m" echo -e " - the client application to access your server (called 'Borepin') can be found at \e[36mhttps://fab-access.org/download\e[0m\n" -# create default bffh.dhall from --print-default -if command -v dhall 2>&1 >/dev/null; then - /usr/bin/bffhd --print-default | dhall format > /etc/bffh/bffh.dhall -else - -cat < /etc/bffh/bffh.dhall +# create default bffh.dhall from --print-default, if config not existent +if [ ! -f /etc/bffh/bffh.dhall ]; then + if command -v dhall 2>&1 >/dev/null; then + /usr/bin/bffhd --print-default | dhall format > /etc/bffh/bffh.dhall + else + cat < /etc/bffh/bffh.dhall {- If you want to re-format this file, please install the dhall package: @@ -75,10 +75,10 @@ You can also re-create this file easily by: -} EOF -/usr/bin/bffhd --print-default >> /etc/bffh/bffh.dhall + /usr/bin/bffhd --print-default >> /etc/bffh/bffh.dhall + fi fi - # check for Mosquitto availability on local system if command -v dnf 2>&1 >/dev/null; then dnf list installed mosquitto > /dev/null 2>&1 diff --git a/debian/fabaccess-bffh-src/manpages/fabfire_provision.1 b/debian/fabaccess-bffh-src/manpages/fabfire_provision.1 index 9119b0f..4366001 100644 --- a/debian/fabaccess-bffh-src/manpages/fabfire_provision.1 +++ b/debian/fabaccess-bffh-src/manpages/fabfire_provision.1 @@ -2,7 +2,7 @@ .\" Contact info@fab-access.org to correct errors or typos. .TH man 1 "13 Mar 2025" "1.0" "fabfire_provision man page" .SH NAME -bffhd +fabfire_provision .SH SYNOPSIS The FabFire Provisioning Tool is used to provide new cards for the FabAccess card system. .SH DESCRIPTION diff --git a/debian/fabaccess-bffh-src/manpages/fabfire_provision.1.gz b/debian/fabaccess-bffh-src/manpages/fabfire_provision.1.gz index d276535..846ea1d 100644 Binary files a/debian/fabaccess-bffh-src/manpages/fabfire_provision.1.gz and b/debian/fabaccess-bffh-src/manpages/fabfire_provision.1.gz differ