From 6e11d8bc16264244336887c62525568624e24f3b Mon Sep 17 00:00:00 2001 From: Stuart Cardall Date: Sat, 28 Nov 2015 21:19:19 +0000 Subject: main/nano: add sh.nanorc syntax for APKBUILD files adds colour for editing APKBUILD files --- main/nano/APKBUILD | 1 + 1 file changed, 1 insertion(+) diff --git a/main/nano/APKBUILD b/main/nano/APKBUILD index f13962022d..5ae9b31cbc 100644 --- a/main/nano/APKBUILD +++ b/main/nano/APKBUILD @@ -47,6 +47,7 @@ package() { mkdir -p "$pkgdir"/etc cp "$srcdir/$pkgname-$pkgver"/doc/nanorc.sample "$pkgdir"/etc/nanorc sed -i 's:# include:include:g' "$pkgdir"/etc/nanorc + sed -i "/syntax/s/\"$/\" \"APKBUILD&/" "$pkgdir"/usr/share/nano/sh.nanorc } md5sums="0acc0ca68eee68ef38f899532a4873c6 nano-2.4.3.tar.gz" -- cgit v1.2.3