Update 'install.sh'
This commit is contained in:
@@ -198,11 +198,13 @@ function install_deb {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function init {
|
function init {
|
||||||
|
if [ ! -z "$P_BINARY" ] || [ ! -z "$P_DEB" ]; then
|
||||||
log_info "Found Architecture: $ARCH"
|
log_info "Found Architecture: $ARCH"
|
||||||
if ! user_confirm "Is '$ARCH' the correct architecture to download programs?"; then
|
if ! user_confirm "Is '$ARCH' the correct architecture to download programs?"; then
|
||||||
log_info "Exiting ..."
|
log_info "Exiting ..."
|
||||||
exit 0
|
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 ..."
|
||||||
sudo apt update > /dev/null 2>&1
|
sudo apt update > /dev/null 2>&1
|
||||||
|
|||||||
Reference in New Issue
Block a user