1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/sysutils/livecd/files/patch-livecd.sh
Edwin Groothuis 218bc09281 sysutils/livecd: Bad sh syntax.
livecd.sh fails due to bad syntax used in the file.

	running sh livecd.sh will report syntax error.

PR:		ports/74900
Submitted by:	J. Johnston <jeremy@smart-serv.net>
2004-12-17 09:04:48 +00:00

21 lines
521 B
Bash

--- livecd.sh.orig Fri Dec 17 20:02:55 2004
+++ livecd.sh Fri Dec 17 20:03:21 2004
@@ -302,7 +302,7 @@
/usr/local/bin/mkisofs -b boot/cdboot -no-emul-boot -c boot/boot.catalog -r -l -L -V LiveCD -o $LIVEISODIR/LiveCD.iso . >> $LIVEDIR/log || aviso
dialog --title "FreeBSD LiveCD" --msgbox "$i_dialogo_1" 5 60
-elif then
+else
dialog --title "FreeBSD LiveCD" --msgbox "$i_dialogo_2" 5 75
#
@@ -578,7 +578,7 @@
do
if [ -f ./config.ok ] ; then
main_dialog
-elif then
+else
idioma
fi
done