summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames An2014-08-11 15:03:18 -0400
committerJames An2014-08-11 15:03:18 -0400
commitae9e021ad0ea6f49e5be29a68a224a625238ec88 (patch)
tree2eba007477354ba14f9636d2cfca06c118255cab
parentd577dc210c1d8cd5da9aa334c3f79234101683e4 (diff)
downloadaur-ae9e021ad0ea6f49e5be29a68a224a625238ec88.tar.gz
Fixed mistake with text transformations in geany-openscad install file.
-rw-r--r--PKGBUILD4
-rw-r--r--geany-openscad.install2
2 files changed, 3 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index c71033f6373d..eee22a208a6d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,9 +1,9 @@
# Maintainer: James An <james@jamesan.ca>
pkgname=geany-openscad
pkgver=20140305
-pkgrel=1
+pkgrel=2
pkgdesc="Syntax highlighting and auto-completion for OpenSCAD files in Geany."
-arch=('i686' 'x86_64')
+arch=('any')
url='http://www.thingiverse.com/thing:263620'
license=('CCPL:by-sa')
depends=('geany')
diff --git a/geany-openscad.install b/geany-openscad.install
index 3df4b448c7fc..f02b7aface6f 100644
--- a/geany-openscad.install
+++ b/geany-openscad.install
@@ -15,7 +15,7 @@ post_install() {
sort -f`"
local after="`sed "1,/^\[${heading}]/d;1,/^\s*$/d" "${file}"`"
- echo "${before}" "${section}" $'\n' $'\n' "${after}" > "${file}"
+ echo -e "${before}\n${section}\n\n${after}" > "${file}"
else
sed -i "s/^\(${key}=.*;\)/\1${value};/" "${file}"
fi