wok-next view nano/stuff/patches/receipt-as-sh.patch @ rev 19693
Add: gcr, oniguruma; remove: nano-doc; up: apr, fribidi, jasper, libgphoto2, libmtp, libunique, libwebp, nano, pcre, apr, apr-util, aspell*, glib-networking, gnutls, gsettings-desktop-schemas, gtk+, gtk+3, gvfs*, libexif, libfm, libgnutls, libmng, libraw, libsoup, libtasn1, libusb, libwebp, lxmenu-data, menu-cache, mysql, newt, p11-kit, pcre, popt, postgresql, slang, which
| author | Aleksej Bobylev <al.bobylev@gmail.com> |
|---|---|
| date | Fri Apr 21 14:48:05 2017 +0300 (2017-04-21) |
| parents | |
| children | e7a485521d6a |
line source
1 SliTaz receipts are shell scripts.
3 --- a/doc/syntax/sh.nanorc
4 +++ b/doc/syntax/sh.nanorc
5 @@ -1,6 +1,6 @@
6 ## Here is an example for Bourne shell scripts.
8 -syntax "sh" "\.sh$"
9 +syntax "sh" "\.sh$" "receipt"
10 header "^#!.*((ba|da|k|pdk)?sh[-0-9_]*|openrc-run|runscript)"
11 magic "(POSIX|Bourne.*) shell script text"
12 linter dash -n