mirror of
https://gitlab.com/fabinfra/fabaccess/bffh.git
synced 2025-04-20 11:16:26 +02:00
fix postinst script
This commit is contained in:
parent
b76cf48b10
commit
c3237cdc62
6
debian/fabaccess-bffh-src/debian/postinst
vendored
6
debian/fabaccess-bffh-src/debian/postinst
vendored
@ -114,4 +114,8 @@ echo -e " You can import an example (let's use 'showcase') users database with
|
||||
echo -e " the command '\e[33m/usr/bin/bffhd --load /etc/bffh/config_examples/showcase/users.toml\e[0m'"
|
||||
echo -e " Then you should overwrite /etc/bffh/bffh.dhall with the one from"
|
||||
echo -e " /etc/bffh/config_examples/showcase/bffh.dhall and restart the bffh.service"
|
||||
echo -e " If you messed up, you can restore your default settings from /etc/bffh/config_examples/minimum_working/\n"
|
||||
if command -v dhall 2>&1 >/dev/null; then
|
||||
echo -e " If you messed up, you can restore default by '\e[33m/usr/bin/bffhd --print-default | dhall format > /etc/bffh/bffh.dhall\e[0m'\n"
|
||||
else
|
||||
echo -e " If you messed up, you can restore default by '\e[33m/usr/bin/bffhd --print-default > /etc/bffh/bffh.dhall\e[0m'\n"
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user