Skip to content

Commit 1447c96

Browse files
committed
myTermux-v.0.3.0
1 parent afed94f commit 1447c96

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,8 +174,9 @@ Here are some details about my setup
174174

175175
- **ERROR : Global Variable or tput not found !**
176176

177-
Global Variable : This error is due to missing <strong>.xshin.var</strong>. To fix this, run `cp .xshin.var $HOME`
178-
tput : This error is due to missing package <strong>ncurses-utils</strong>. To fix this, run `pkg install ncurses-utils`
177+
Global Variable : This error is due to missing <strong>.xshin.var</strong>. To fix this, run `cp .xshin.var $HOME` <br />
178+
tput : This error is due to missing package <strong>ncurses-utils</strong>. To fix this, run `pkg install ncurses-utils` <br /
179+
bc : This error is due to missing package <strong>ncurses-utils</strong>. To fix this, run `pkg install bc`
179180

180181
|ERROR : Global Variable or tput not found !|
181182
|--|

install.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
if [[ -f $HOME/.xshin.var ]]; then
3+
if [[ -f $HOME/.xshin.var && -f $PREFIX/bin/tput && -f $PREFIX/bin/bc ]]; then
44

55
source $HOME/.xshin.var
66

@@ -697,6 +697,7 @@ else
697697
echo -e " Global Variable make sure you copy .xshin.var to
698698
$HOME/\n"
699699
echo -e " tput run 'pkg install ncurses-utils'
700-
to install tput\n"
700+
to install tput"
701+
echo -e " bc run 'pkg install bc'\n"
701702
exit 1
702703
fi

0 commit comments

Comments
 (0)