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 <ncopa@alpinelinux.org>
pkgname=geany
pkgver=1.24.1
-pkgrel=0+pkgrel=1pkgdesc="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
}
I wonder if it would be better to implement it as a patch instead of
sed. If they for some reason would insert 'xterm' in a comment or
whatever it will break things again.
-nc