disabled sensors alert on dry-run
This commit is contained in:
parent
e419522fbd
commit
fdab517c13
1 changed files with 14 additions and 5 deletions
17
install.sh
17
install.sh
|
|
@ -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[@]}"
|
||||||
}
|
}
|
||||||
|
|
||||||
#------------------------------------------------------#
|
#------------------------------------------------------#
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue