Browse Source

- nano: set nano as default editor

master
vanhofen 4 years ago
parent
commit
3866a55a53
  1. 2
      make/target-tools.mk

2
make/target-tools.mk

@ -1132,6 +1132,8 @@ nano: $(NANO_DEPS) $(DL_DIR)/$(NANO_SOURCE) | $(TARGET_DIR)
; \
$(MAKE) CURSES_LIB="-lncurses"; \
$(MAKE) install DESTDIR=$(TARGET_DIR)
$(INSTALL) -d $(TARGET_sysconfdir)/profile.d
echo "export EDITOR=nano" > $(TARGET_sysconfdir)/profile.d/editor.sh
$(REMOVE)/$(NANO_DIR)
$(TOUCH)

Loading…
Cancel
Save