disabled sensors alert on dry-run

This commit is contained in:
pyr0ball 2023-04-26 13:39:18 -07:00
parent e419522fbd
commit fdab517c13

View file

@ -375,8 +375,9 @@ userinstall(){
if [ -f "${rundir_absolute}/extra.installs" ] ; then if [ -f "${rundir_absolute}/extra.installs" ] ; then
/bin/bash ${rundir_absolute}/extra.installs /bin/bash ${rundir_absolute}/extra.installs
fi fi
if [[ $dry_run != true ]] ; then
boxborder "${grn}Please be sure to run ${lyl}sensors-detect --auto${grn} after installation completes${dfl}" boxborder "${grn}Please be sure to run ${lyl}sensors-detect --auto${grn} after installation completes${dfl}"
fi
} }
globalinstall(){ globalinstall(){
@ -497,10 +498,18 @@ update(){
} }
dry-run-report(){ dry-run-report(){
box-rounded
boxborder "${grn}Dry-run Report:${dfl}"
box-norm
boxborder \ boxborder \
"bins_missing= ${bins_missing[@]}" \ "bins_missing= " \
"backup_files= ${backup_files[@]}" \ "${bins_missing[@]}" \
"installed_files= ${installed_files[@]}" "backup_files= " \
"${backup_files[@]}" \
"installed_files= " \
"${installed_files[@]}" \
"installed_dirs= " \
"${installed_dirs[@]}"
} }
#------------------------------------------------------# #------------------------------------------------------#