File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -174,8 +174,9 @@ Here are some details about my setup
174
174
175
175
- ** ERROR : Global Variable or tput not found ! **
176
176
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`
179
180
180
181
| ERROR : Global Variable or tput not found !|
181
182
| --|
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
- if [[ -f $HOME /.xshin.var ]]; then
3
+ if [[ -f $HOME /.xshin.var && -f $PREFIX /bin/tput && -f $PREFIX /bin/bc ]]; then
4
4
5
5
source $HOME /.xshin.var
6
6
697
697
echo -e " Global Variable make sure you copy .xshin.var to
698
698
$HOME /\n"
699
699
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"
701
702
exit 1
702
703
fi
You can’t perform that action at this time.
0 commit comments