1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

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>
This commit is contained in:
Edwin Groothuis 2004-12-17 09:04:48 +00:00
parent 42c62ca5d3
commit 218bc09281
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=124289
2 changed files with 21 additions and 1 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= livecd
PORTVERSION= 1.2.4b
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= sysutils
MASTER_SITES= http://www.primeirospassos.org/

View File

@ -0,0 +1,20 @@
--- 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