@@ -111,7 +111,7 @@ dialog_menu() {
111111 default_item=" $( eval " echo \$ {$1 }" ) "
112112 # dialog_menu_result="$(echo /usr/bin/dialog --title "'$retrocrt_title :: $2'" --default-item "$default_item" --menu "'$3'" 0 0 0 $4 | bash 3>&1 1>&2 2>&3)"
113113 (echo /usr/bin/dialog --title " '$retrocrt_title :: $2 '" --default-item " $default_item " --menu " '$3 '" 0 0 0 $4 | bash 2> /dev/shm/dialog_result)
114- export dialog_menu_result=" $( cat /dev/shm/dialog_result) "
114+ export dialog_menu_result=" $( cat /dev/shm/dialog_result) "
115115 if [ ! " $dialog_menu_result " ]; then
116116 exit 1
117117 fi
146146# #############################################################################
147147
148148if [ " $COLUMNS " ]; then
149- rcrtbwidth=$COLUMNS
149+ rcrtbwidth=$COLUMNS
150150else
151- rcrtbwidth=40
151+ rcrtbwidth=40
152152fi
153153
154154rcrtbanner () {
155- rcrtbanner=" $1 "
156- rcrtbwidth=" $[ $( wc -L <<< " $rcrtbanner" ) + 2 ]"
157- printf %${rcrtbwidth} s | tr ' ' ' ='
155+ rcrtbanner=" $1 "
156+ rcrtbwidth=" $[ $( wc -L <<< " $rcrtbanner" ) + 2 ]"
157+ printf %${rcrtbwidth} s | tr ' ' ' ='
158158 printf " \n%*s\n" $(( (${# rcrtbanner} + $rcrtbwidth )/ 2 )) " $rcrtbanner "
159- printf %${rcrtbwidth} s | tr ' ' ' ='
160- echo
159+ printf %${rcrtbwidth} s | tr ' ' ' ='
160+ echo
161161}
162162
163163# #############################################################################
@@ -172,9 +172,6 @@ sudo mkdir -pv /boot/retrocrt/video_timings
172172# source $retrocrt_config
173173retrocrt_title=" RetroCRT"
174174
175- # lock in the ansible version we're running
176- ansible_ver=" 2.10.8"
177-
178175retrocrt_venv=" $HOME /.virtualenv/retrocrt3"
179176req_packages="
180177 dialog
@@ -221,13 +218,9 @@ if [[ -f $retrocrt_venv/bin/activate ]]; then
221218fi
222219
223220if [[ " $VIRTUAL_ENV " = " $retrocrt_venv " ]] && [[ ! " $rcrt_quick " ]]; then
224- rcrtbanner " Ensuring Virtual Env has Ansible $ansible_ver "
221+ rcrtbanner " Ensuring Python Modules are Installed "
225222 pip install --upgrade pip
226- if ! pip list --local | tr -s ' ' | grep " ansible-base $ansible_ver " ; then
227- # pip install --retries 5 --timeout 5 --upgrade --cache-dir /dev/shm ansible-base==$ansible_ver
228- pip install --retries 5 --timeout 5 --upgrade --cache-dir /dev/shm -r requires.txt
229- fi
230-
223+ pip install --retries 5 --timeout 5 --upgrade --cache-dir /dev/shm -r requires.txt
231224 echo
232225
233226 rcrtbanner " Ensuring Ansible Modules are Installed"
294287# #############################################################################
295288
296289# if [[ "$network_up" = "true" ]]; then
297- # clear ; reset ; clear
298- # git fetch --tags
290+ # clear ; reset ; clear
291+ # git fetch --tags
299292# fi
300293
301294# git_tag_latest="$(git for-each-ref --format="%(tag)" --sort=-taggerdate --count=1 refs/tags)"
0 commit comments