Update 'install.sh'
This commit is contained in:
10
install.sh
10
install.sh
@@ -198,10 +198,12 @@ function install_deb {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function init {
|
function init {
|
||||||
log_info "Found Architecture: $ARCH"
|
if [ ! -z "$P_BINARY" ] || [ ! -z "$P_DEB" ]; then
|
||||||
if ! user_confirm "Is '$ARCH' the correct architecture to download programs?"; then
|
log_info "Found Architecture: $ARCH"
|
||||||
log_info "Exiting ..."
|
if ! user_confirm "Is '$ARCH' the correct architecture to download programs?"; then
|
||||||
exit 0
|
log_info "Exiting ..."
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
if [ ! -z "$P_APT" ]; then
|
if [ ! -z "$P_APT" ]; then
|
||||||
log_info "Running apt update ..."
|
log_info "Running apt update ..."
|
||||||
|
|||||||
Reference in New Issue
Block a user