Only add confirmation if not installing for the first time
This commit is contained in:
parent
1fc24f5e5c
commit
0360845f71
|
@ -132,6 +132,7 @@ function remove_apps_selected {
|
||||||
|
|
||||||
function install_apps_selected {
|
function install_apps_selected {
|
||||||
# which apps need to be installed?
|
# which apps need to be installed?
|
||||||
|
select_all_apps=$1
|
||||||
installs=""
|
installs=""
|
||||||
app_index=0
|
app_index=0
|
||||||
n=0
|
n=0
|
||||||
|
@ -155,6 +156,7 @@ function install_apps_selected {
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ "$select_all_apps" != "add-all" ]]; then
|
||||||
# ask for confirmation
|
# ask for confirmation
|
||||||
dialog --title $"Remove applications" \
|
dialog --title $"Remove applications" \
|
||||||
--backtitle $"Freedombone" \
|
--backtitle $"Freedombone" \
|
||||||
|
@ -165,6 +167,7 @@ function install_apps_selected {
|
||||||
1) return;;
|
1) return;;
|
||||||
255) return;;
|
255) return;;
|
||||||
esac
|
esac
|
||||||
|
fi
|
||||||
|
|
||||||
clear
|
clear
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue