From 4127204f344b1d288744eda5a1763f51c03f67fb Mon Sep 17 00:00:00 2001 From: pika Date: Sat, 17 May 2025 21:05:21 +0200 Subject: [PATCH] wip --- postinstall.sh | 33 ++++++++++++++++++++++++++++----- 1 file changed, 28 insertions(+), 5 deletions(-) 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