2
0
mirror of https://gitlab.com/Nanolx/NanoDroid synced 2024-10-31 09:20:23 +00:00

no longer ship GNU Nano

This commit is contained in:
Christopher Roy Bratusek 2020-01-17 22:03:40 +01:00
parent 390e398ed3
commit d9b8b8ba86
39 changed files with 5 additions and 35 deletions

View File

@ -22,6 +22,8 @@
* users will be auto migrated
* no longer ship Substratum
* no longer ship Orbot
* no longer ship GNU Nano Editor
* use 0smosis' GNU Nano flashable zip
* Patcher
* for SDK 19 - 25 use dexpatcher 1.6.3

View File

@ -1150,17 +1150,6 @@ install_nanodroidscripts () {
fi
}
install_nano () {
if [ "${nanodroid_nano}" -eq 1 ]; then
ui_print " << with GNU Nano Terminal Editor"
nanodroid_install_dir etc/terminfo
nanodroid_install_file xbin/nano bin
nanodroid_install_file xbin/nano.bin bin
else ui_print " << without GNU Nano Terminal Editor"
fi
}
install_shell_utils () {
if [ "${nanodroid_utils}" -eq 1 ]; then
ui_print " << with Shell Utilities"
@ -1713,7 +1702,6 @@ check_cfg_setup () {
fi
[ -z "${nanodroid_bash}" ] && set_prop nanodroid_bash 1
[ -z "${nanodroid_nano}" ] && set_prop nanodroid_nano 1
[ -z "${nanodroid_utils}" ] && set_prop nanodroid_utils 1
# in NanoDroid 21.0.90 nanodroid_override was dropped
@ -1722,6 +1710,9 @@ check_cfg_setup () {
# in NanoDroid 22.5 nanodroid_fonts was dropped
sed -e '/nanodroid_fonts/d' -i "${cfg_setup}"
# in NanoDroid 22.5.2 nanodroid_nano was dropped
sed -e '/nanodroid_nano/d' -i "${cfg_setup}"
source "${cfg_setup}"
}

View File

@ -54,7 +54,6 @@ install_zelda
install_initd
install_swipe
install_bash
install_nano
install_shell_utils
set_progress 0.9

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1,22 +0,0 @@
#!/system/bin/sh
# nano: wrapper to set up and run nano from terminal
# osm0sis @ xda-developers
dir="$(cd "$(dirname "$0")"; pwd)"
if [ "$1" == "--term" ]; then
term=$2;
shift 2;
else
term=xterm
fi
clear # empty the buffer
# correct the terminal size ;
# some OS' don't ship `resize`
resize >/dev/null
[[ -d /system/etc/terminfo ]] && \
export TERMINFO=/system/etc/terminfo
TERM=$term ${dir}/nano.bin $*

Binary file not shown.