From 218bc0928107680313ea8b68c7cf6702438910c1 Mon Sep 17 00:00:00 2001 From: Edwin Groothuis Date: Fri, 17 Dec 2004 09:04:48 +0000 Subject: 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 --- sysutils/livecd/Makefile | 2 +- sysutils/livecd/files/patch-livecd.sh | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 sysutils/livecd/files/patch-livecd.sh (limited to 'sysutils/livecd') diff --git a/sysutils/livecd/Makefile b/sysutils/livecd/Makefile index 41354de20242..c05ddec7e212 100644 --- a/sysutils/livecd/Makefile +++ b/sysutils/livecd/Makefile @@ -7,7 +7,7 @@ PORTNAME= livecd PORTVERSION= 1.2.4b -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils MASTER_SITES= http://www.primeirospassos.org/ diff --git a/sysutils/livecd/files/patch-livecd.sh b/sysutils/livecd/files/patch-livecd.sh new file mode 100644 index 000000000000..2353668fc0a3 --- /dev/null +++ b/sysutils/livecd/files/patch-livecd.sh @@ -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 -- cgit v1.2.3