From cf38f99d3d55ca2b6afe600e9faaa7c4f7546898 Mon Sep 17 00:00:00 2001 From: Mike Vink Date: Sat, 8 Feb 2025 07:32:40 +0100 Subject: update progs mvbs.sh --- mvbs.sh | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) (limited to 'mvbs.sh') diff --git a/mvbs.sh b/mvbs.sh index b8eb030..45c6893 100644 --- a/mvbs.sh +++ b/mvbs.sh @@ -1,10 +1,5 @@ #!/bin/sh -# Based on: -# Luke's Auto Rice Bootstrapping Script (MVBS) -# by Luke Smith -# License: GNU GPLv3 - ### OPTIONS AND VARIABLES ### dotfilesrepo="https://github.com/ivi-vink/flake.git" @@ -97,13 +92,6 @@ gitmakeinstall() { cd /tmp || return 1 } -aurinstall() { - whiptail --title "MVBS Installation" \ - --infobox "Installing \`$1\` ($n of $total) from the AUR. $1 $2" 9 70 - echo "$aurinstalled" | grep -q "^$1$" && return 1 - sudo -u "$name" $aurhelper -S --noconfirm "$1" >/dev/null 2>&1 -} - pipinstall() { whiptail --title "MVBS Installation" \ --infobox "Installing the Python package \`$1\` ($n of $total). $1 $2" 9 70 @@ -214,8 +202,8 @@ finalize() { ### This is how everything happens in an intuitive format and order. # Check if user is root on Arch distro. Install whiptail. -xbps-install --yes newt || - error "Are you sure you're running this as the root user, are on Void Linux and have an internet connection?" +installpkg newt || + error "Are you sure you're running this as the root user, are on Void or Debianish Linux and have an internet connection?" # Welcome user and pick dotfiles. welcomemsg || error "User exited." -- cgit v1.2.3