mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-03-10 19:01:13 +00:00
Remove necessarily true conditional
This commit is contained in:
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…
x
Reference in New Issue
Block a user