e2k: support flash boot targets other than install

Yet another silly distraction...
This commit is contained in:
Michael Shigorin 2020-09-06 00:34:24 +03:00
parent 984aded5dd
commit 2d8c5dbcc2

View File

@ -33,7 +33,7 @@ case "$2" in
cp -avt "$dst" -- "$src"/{.disk,*}
grep -q "^default=.*_flash$" "$dst/boot.conf" || {
echo -n "updating default boot target... "
sed -i 's,default=install$,&_flash,' "$dst/boot.conf"
sed -i 's,default=.*$,&_flash,' "$dst/boot.conf"
echo "done"
}
echo -n "unmounting media... "