Remove necessarily true conditional

ubuntu/cosmic
Daniel Watkins 7 years ago
parent fe76613e69
commit 42ef796b92

@ -429,10 +429,8 @@ snap_prepare_assertions() {
mkdir -p "$assertions_dir"
mkdir -p "$snaps_dir"
if [ -n "$CUSTOM_BRAND_MODEL" ] ; then
brand="$(echo $CUSTOM_BRAND_MODEL | cut -d: -f 1)"
model="$(echo $CUSTOM_BRAND_MODEL | cut -d: -f 2)"
fi
local brand="$(echo $CUSTOM_BRAND_MODEL | cut -d: -f 1)"
local model="$(echo $CUSTOM_BRAND_MODEL | cut -d: -f 2)"
if ! [ -e "$model_assertion" ] ; then
snap known --remote model series=16 \

Loading…
Cancel
Save