Skip to content

Commit

Permalink
Path changes for NeoTerm
Browse files Browse the repository at this point in the history
  • Loading branch information
Martinvlba committed May 3, 2021
1 parent db8753c commit d8ef31d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
set -e
: "${TERMUX_PREFIX:=/data/data/com.termux/files/usr}"
: "${TERMUX_ANDROID_HOME:=/data/data/com.termux/files/home}"
: "${TERMUX_PREFIX:=/data/data/io.neoterm/files/usr}"
: "${TERMUX_ANDROID_HOME:=/data/data/io.neoterm/files/home}"

echo "Installing $TERMUX_PREFIX/bin/proot-distro"
install -d -m 700 "$TERMUX_PREFIX"/bin
Expand Down
12 changes: 6 additions & 6 deletions proot-distro.sh
Original file line number Diff line number Diff line change
Expand Up @@ -362,8 +362,8 @@ command_install() {
export DEX2OATBOOTCLASSPATH=${DEX2OATBOOTCLASSPATH-}
export EXTERNAL_STORAGE=${EXTERNAL_STORAGE-}
export LANG=C.UTF-8
export PATH=\${PATH}:/data/data/com.termux/files/usr/bin:/system/bin:/system/xbin
export PREFIX=${PREFIX-/data/data/com.termux/files/usr}
export PATH=\${PATH}:/data/data/io.neoterm/files/usr/bin:/system/bin:/system/xbin
export PREFIX=${PREFIX-/data/data/io.neoterm/files/usr}
export TERM=${TERM-xterm-256color}
export TMPDIR=/tmp
export PULSE_SERVER=127.0.0.1
Expand Down Expand Up @@ -1168,8 +1168,8 @@ command_login() {
# to Android and Termux so user can interact with host file system.
if ! $isolated_environment; then
set -- "--bind=/data/dalvik-cache" "$@"
set -- "--bind=/data/data/com.termux/cache" "$@"
set -- "--bind=/data/data/com.termux/files/home" "$@"
set -- "--bind=/data/data/io.neoterm/cache" "$@"
set -- "--bind=/data/data/io.neoterm/files/home" "$@"
set -- "--bind=/storage" "$@"
set -- "--bind=/storage/self/primary:/sdcard" "$@"
fi
Expand All @@ -1182,7 +1182,7 @@ command_login() {
if [ -e "/linkerconfig/ld.config.txt" ]; then
set -- "--bind=/linkerconfig/ld.config.txt" "$@"
fi
set -- "--bind=/data/data/com.termux/files/usr" "$@"
set -- "--bind=/data/data/io.neoterm/files/usr" "$@"
set -- "--bind=/system" "$@"
set -- "--bind=/vendor" "$@"
if [ -f "/plat_property_contexts" ]; then
Expand Down Expand Up @@ -1287,7 +1287,7 @@ command_login_help() {
msg
msg " ${CYAN}* ${YELLOW}/apex ${CYAN}(only Android 10+)${RST}"
msg " ${CYAN}* ${YELLOW}/data/dalvik-cache${RST}"
msg " ${CYAN}* ${YELLOW}/data/data/com.termux${RST}"
msg " ${CYAN}* ${YELLOW}/data/data/io.neoterm${RST}"
msg " ${CYAN}* ${YELLOW}/sdcard${RST}"
msg " ${CYAN}* ${YELLOW}/storage${RST}"
msg " ${CYAN}* ${YELLOW}/system${RST}"
Expand Down

0 comments on commit d8ef31d

Please sign in to comment.