readd prevent Termux for username
This commit is contained in:
parent
c748d76878
commit
e2e4236f36
1 changed files with 4 additions and 1 deletions
|
@ -20,7 +20,10 @@ p_start() {
|
||||||
}
|
}
|
||||||
|
|
||||||
p_user() {
|
p_user() {
|
||||||
user=$(grep $USER /etc/passwd | cut -d: -f5)
|
if [ -z $TERMUX_VERSION ]
|
||||||
|
then
|
||||||
|
user=$(grep $USER /etc/passwd | cut -d: -f5)
|
||||||
|
fi
|
||||||
if [ -z $user ]
|
if [ -z $user ]
|
||||||
then
|
then
|
||||||
echo -e "${bg_orange}${fg_noir}\u"
|
echo -e "${bg_orange}${fg_noir}\u"
|
||||||
|
|
Loading…
Reference in a new issue