From 06560ca9948249f24305f24f33e427d64a392cc4 Mon Sep 17 00:00:00 2001 From: Mario Voigt Date: Fri, 14 Mar 2025 01:11:51 +0100 Subject: [PATCH] fix another typo --- debian/fabaccess-bffh-src/debian/postinst | 16 ++++++++-------- .../manpages/fabfire_provision.1 | 2 +- .../manpages/fabfire_provision.1.gz | Bin 426 -> 425 bytes 3 files changed, 9 insertions(+), 9 deletions(-) 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 d2765351b52428c7c455c51bf074ed0a59133564..846ea1d450a02d35550252020f85c9d4019ddeea 100644 GIT binary patch literal 425 zcmV;a0apGWiwFo9bkk=517=}jW@&O|UvP47c4>2IZ*DFz0A*3ZPTW8Yz2__3m8ur0 zOn|BvPAn9$YyD_jgoXk% zcHg*wk7J;NV@KX3Mj=<^#a05&H*}$xV_Q|oY$&uK1QmsVTE-A4Fer~akHp$rtYEMn zPGNESRfPhaot%AJXkqJIAPt&(cPX8`JbS5sF-R$l1?nj>7BMh$X1Uh>_U>fiPYYPp!dUyV*&sGg+|In literal 426 zcmV;b0agAViwFpDUejj)17=}jW@&O|UvP47c4>2IZ*DFz0A-O;PuwsJ$KU%YypyJF z5~RSi7oNB=*!6+C)3t0us)TZ_+h(+J6}va_?Qsf2Vn|UGC-(pMw`0l$+*m)_7NMa4 zjomjc;Qbir;MkEjiP4lx@?t9i=Nr1voMT&6$ZROIAOsbKfclIfP+(9Uc^rwgwphVn zJ)FYg^s9mboSmF~TWDlXbbm*ilcSkMV)7NNmp50*zG=F84)eS9W}9buQgjH{c7Lt4 zu>Du-dTk#4^kF&ObyG%B3j)dA&fWshS4V@rimo0(-EoxBDK!3Y6#N z$Fj*fk&(~S^zC5Nm+6T1#AUOay?wv^nJ2#y2G@21ojo8h4fp}JJz7QxI8u<<;ShcN z2WXur+f+0}asA9-2%@7+kQ}T2v#r U2kQlWbp9oI0{k(M)K>xk0Jc}va{vGU