termux-tools: minor grammatical changes
This commit is contained in:
parent
aa225b374d
commit
cc79632785
@ -2,7 +2,7 @@ TERMUX_PKG_HOMEPAGE=https://termux.com/
|
|||||||
TERMUX_PKG_DESCRIPTION="Basic system tools for Termux"
|
TERMUX_PKG_DESCRIPTION="Basic system tools for Termux"
|
||||||
TERMUX_PKG_LICENSE="GPL-3.0"
|
TERMUX_PKG_LICENSE="GPL-3.0"
|
||||||
TERMUX_PKG_VERSION=0.81
|
TERMUX_PKG_VERSION=0.81
|
||||||
TERMUX_PKG_REVISION=1
|
TERMUX_PKG_REVISION=2
|
||||||
TERMUX_PKG_SKIP_SRC_EXTRACT=true
|
TERMUX_PKG_SKIP_SRC_EXTRACT=true
|
||||||
TERMUX_PKG_PLATFORM_INDEPENDENT=true
|
TERMUX_PKG_PLATFORM_INDEPENDENT=true
|
||||||
TERMUX_PKG_ESSENTIAL=true
|
TERMUX_PKG_ESSENTIAL=true
|
||||||
|
@ -5,15 +5,15 @@ unset LD_PRELOAD LD_LIBRARY_PATH
|
|||||||
echo
|
echo
|
||||||
echo "You are going to reset your Termux installation."
|
echo "You are going to reset your Termux installation."
|
||||||
echo
|
echo
|
||||||
echo "This script will erase everything under \$PREFIX. All files under that directory will be lost, that includes packages, configuration files, databases, etc."
|
echo "This script will erase everything under \$PREFIX. All files in that directory will be lost, that includes packages, configuration files, databases, etc."
|
||||||
echo
|
echo
|
||||||
echo "Termux home directory as well as data on your shared or external storage will not be removed and left as-is."
|
echo "Termux home directory as well as data in your shared or external storage will not be removed and left as-is."
|
||||||
echo
|
echo
|
||||||
|
|
||||||
read -re -p "Do you want to continue ? (y/n) " CHOICE
|
read -re -p "Do you want to continue ? (y/n) " CHOICE
|
||||||
|
|
||||||
if ! [[ $CHOICE =~ (Y|y) ]]; then
|
if ! [[ $CHOICE =~ (Y|y) ]]; then
|
||||||
echo "Leaving intact the contents of \$PREFIX."
|
echo "Leaving \$PREFIX intact."
|
||||||
exit 1
|
exit 1
|
||||||
else
|
else
|
||||||
HAS_TERMUX_AM=false
|
HAS_TERMUX_AM=false
|
||||||
@ -28,7 +28,7 @@ else
|
|||||||
/system/bin/mkdir -p "@TERMUX_CACHE_DIR@/termux-am"
|
/system/bin/mkdir -p "@TERMUX_CACHE_DIR@/termux-am"
|
||||||
/system/bin/cp "@TERMUX_PREFIX@/libexec/termux-am/am.apk" "@TERMUX_CACHE_DIR@/termux-am/am.apk"
|
/system/bin/cp "@TERMUX_PREFIX@/libexec/termux-am/am.apk" "@TERMUX_CACHE_DIR@/termux-am/am.apk"
|
||||||
|
|
||||||
# In case if copying am.apk failed.
|
# In case copying am.apk failed.
|
||||||
if [ ! -e "@TERMUX_CACHE_DIR@/termux-am/am.apk" ]; then
|
if [ ! -e "@TERMUX_CACHE_DIR@/termux-am/am.apk" ]; then
|
||||||
HAS_TERMUX_AM=false
|
HAS_TERMUX_AM=false
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user