From 2337b9ed2c6dcf0bdb76633fc3028dbc5bd6e55e Mon Sep 17 00:00:00 2001 From: Maxim Stewart Date: Sat, 2 May 2020 05:49:51 -0500 Subject: [PATCH] fixing flow issue --- src/step_3_create_boot_structure.sh | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/step_3_create_boot_structure.sh b/src/step_3_create_boot_structure.sh index 3222030..87beadd 100755 --- a/src/step_3_create_boot_structure.sh +++ b/src/step_3_create_boot_structure.sh @@ -21,7 +21,6 @@ function main() { case $ANSR in "1" ) isolinux_text_boot; break;; "2" ) isolinux_gui_boot; break;; - * ) echo "Don't know how you got here but that's a bad sign..."; break;; esac echo "Creating manifest..." @@ -76,9 +75,8 @@ function create_manifest() { sudo chroot ${CHROOT_PTH} dpkg-query -W --showformat='${Package} ${Version}\n' | sudo tee image/casper/filesystem.manifest sudo cp -v image/casper/filesystem.manifest image/casper/filesystem.manifest-desktop REMOVE='ubiquity ubiquity-frontend-gtk ubiquity-frontend-kde casper lupin-casper live-initramfs user-setup discover1 xresprobe os-prober libdebian-installer4' - for i in $REMOVE - do - sudo sed -i "/${i}/d" image/casper/filesystem.manifest-desktop + for i in $REMOVE; do + sudo sed -i "/${i}/d" image/casper/filesystem.manifest-desktop done } @@ -102,7 +100,6 @@ cat < image/README.diskdefines #define TOTALNUM 0 #define TOTALNUM0 1 EOF - } function remix_recognition() {