diff --git a/postinstall.sh b/postinstall.sh index cf07f03..a24c2bd 100644 --- a/postinstall.sh +++ b/postinstall.sh @@ -120,6 +120,28 @@ removeBloat() { fi } +_nala() { + if command_exists nala; then + echo_info "Nala is already present, fetching mirros now!" + echo_warning "(This might take a minute or two, depending on your internet speed)" + $_sudo nala fetch --auto --assume-yes --https-only + else + echo_note "Nala is not installed on the system, do you want to install it now? (Y/n): " + read -r inst_nala