fixing flow issue

This commit is contained in:
Maxim Stewart 2020-05-02 05:49:51 -05:00
parent 550279462d
commit 2337b9ed2c
1 changed files with 2 additions and 5 deletions

View File

@ -21,7 +21,6 @@ function main() {
case $ANSR in case $ANSR in
"1" ) isolinux_text_boot; break;; "1" ) isolinux_text_boot; break;;
"2" ) isolinux_gui_boot; break;; "2" ) isolinux_gui_boot; break;;
* ) echo "Don't know how you got here but that's a bad sign..."; break;;
esac esac
echo "Creating manifest..." echo "Creating manifest..."
@ -76,8 +75,7 @@ function create_manifest() {
sudo chroot ${CHROOT_PTH} dpkg-query -W --showformat='${Package} ${Version}\n' | sudo tee image/casper/filesystem.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 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' 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 for i in $REMOVE; do
do
sudo sed -i "/${i}/d" image/casper/filesystem.manifest-desktop sudo sed -i "/${i}/d" image/casper/filesystem.manifest-desktop
done done
} }
@ -102,7 +100,6 @@ cat <<EOF > image/README.diskdefines
#define TOTALNUM 0 #define TOTALNUM 0
#define TOTALNUM0 1 #define TOTALNUM0 1
EOF EOF
} }
function remix_recognition() { function remix_recognition() {