Skip to content

FreeBSD avoid creating configuration files ending with .conf'' or .conf"" #1960

@bruno-at-bareos

Description

@bruno-at-bareos

Bareos component version

seen with current at 23.0.4~pre219.fcc1a62ef
and also with next at 24.0.0.p1153.c5.b6.c482.pkg

Steps to reproduce

Install FreeBSD 14.1, use add_bareos_repositories.sh script install bareos

Expected results

only .conf and .conf.sample file should be present in /usr/local/etc/bareos

Actual results

find . -type f | grep -e "''"
./bareos-dir.d/client/bareos-fd.conf''
./bareos-dir.d/console/bareos-mon.conf''
./bareos-dir.d/director/bareos-dir.conf''
./bareos-dir.d/storage/File.conf''
./bareos-fd.d/client/myself.conf''
./bareos-fd.d/director/bareos-dir.conf''
./bareos-fd.d/director/bareos-mon.conf''
./bconsole.conf''
./bareos-sd.d/director/bareos-dir.conf''
./bareos-sd.d/director/bareos-mon.conf''

Environment

- OS: `FreeBSD`
- component: all

It is certainly related to sed --inplace usage FreeBSD supporting only short option.

Relevant log output

No response

Relevant traces output

No response

Anything else?

No response

Metadata

Metadata

Labels

bugThis addresses a bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions