Subject: [alpine-aports] [PATCH] main/geany: fix vte emulation

From: AmatCoder <[email-masked]>
Date: Thu, 22 Jan 2015 11:01:56 +0000

Replace only the first 'xterm' because the other is the terminal
emulation to use and it must be 'xterm'.
---
 main/geany/APKBUILD | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/main/geany/APKBUILD b/main/geany/APKBUILD
index 12597d0..eceec52 100644
--- a/main/geany/APKBUILD
+++ b/main/geany/APKBUILD
@@ -1,7 +1,7 @@
 # Maintainer: Natanael Copa <[email-masked]>
 pkgname=geany
 pkgver=1.24.1
-pkgrel=0
+pkgrel=1
 pkgdesc="A fast and lightweight IDE"
 url="http://www.geany.org"
 arch="all"
@@ -47,7 +47,7 @@ prepare() {
                 esac
         done
 	# set default terminal to Terminal
-	sed -e 's/xterm/Terminal/g' \
+	sed -e '1,/xterm/s/xterm/Terminal/' \
 		-i src/keyfile.c
 }
 
-- 
2.2.2

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---