A second invocation of 'lb config' will result in an identical settings file

This commit is contained in:
Roland Clobus 2020-12-13 19:23:20 +01:00
parent edb12253eb
commit fac389a51b
No known key found for this signature in database
GPG Key ID: 62C57C6AA61495BD
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ Prepare_config ()
if gzip --help | grep -qs "\-\-rsyncable"
then
GZIP_OPTIONS="$(echo ${GZIP_OPTIONS} | sed -e 's|--rsyncable||') --rsyncable"
GZIP_OPTIONS="$(echo ${GZIP_OPTIONS} | sed -E -e 's|[ ]?--rsyncable||') --rsyncable"
fi
LB_CACHE="${LB_CACHE:-true}"