From 5b225e7e2e5f164ea01dad426bc5be6ab7af2168 Mon Sep 17 00:00:00 2001 From: Jay Freeman Date: Sat, 23 Feb 2008 22:54:10 +0000 Subject: Added EDITOR support to nano, and made visudo honor it. git-svn-id: http://svn.telesphoreo.org/trunk@93 514c082c-b64e-11dc-b46d-3d985efe055d --- data/nano/make.sh | 6 ++++-- data/nano/nano.sh | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100755 data/nano/nano.sh (limited to 'data/nano') diff --git a/data/nano/make.sh b/data/nano/make.sh index 4b04980d0..cfdb36162 100644 --- a/data/nano/make.sh +++ b/data/nano/make.sh @@ -1,5 +1,7 @@ -tar -zxvf "${PKG_DATA}/nano-2.0.7.tar.gz" -cd nano-2.0.7 +pkg:extract +cd * pkg:configure make pkg:install +pkg: mkdir -p /etc/profile.d +pkg: cp -a %/nano.sh /etc/profile.d diff --git a/data/nano/nano.sh b/data/nano/nano.sh new file mode 100755 index 000000000..9e0db0f05 --- /dev/null +++ b/data/nano/nano.sh @@ -0,0 +1 @@ +export EDITOR=nano -- cgit v1.2.3