Initialise options variable so expansion when running files/source.list.template

there will not be an error when the variable is not set.
This commit is contained in:
Mark Verboom 2022-09-29 16:19:07 +02:00
parent 90488d2e9e
commit 62db96bb37

View file

@ -21,6 +21,7 @@
name="$__object_id" name="$__object_id"
state="$(cat "$__object/parameter/state")" state="$(cat "$__object/parameter/state")"
uri="$(cat "$__object/parameter/uri")" uri="$(cat "$__object/parameter/uri")"
options=""
if [ -f "$__object/parameter/distribution" ]; then if [ -f "$__object/parameter/distribution" ]; then
distribution="$(cat "$__object/parameter/distribution")" distribution="$(cat "$__object/parameter/distribution")"