aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/livecd
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2004-12-17 17:04:48 +0800
committeredwin <edwin@FreeBSD.org>2004-12-17 17:04:48 +0800
commit2fa056f4f698b4ad84fe40950bb33835d6489b34 (patch)
tree85533dc4bd6b4bffba0338a917425c5bef6b023a /sysutils/livecd
parent6491b07e7cb2ba7b702bdac1aa6aa708218c828a (diff)
downloadfreebsd-ports-gnome-2fa056f4f698b4ad84fe40950bb33835d6489b34.tar.gz
freebsd-ports-gnome-2fa056f4f698b4ad84fe40950bb33835d6489b34.tar.zst
freebsd-ports-gnome-2fa056f4f698b4ad84fe40950bb33835d6489b34.zip
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>
Diffstat (limited to 'sysutils/livecd')
-rw-r--r--sysutils/livecd/Makefile2
-rw-r--r--sysutils/livecd/files/patch-livecd.sh20
2 files changed, 21 insertions, 1 deletions
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