diff options
| author | Mike Vink <mike@pionative.com> | 2025-02-08 07:32:40 +0100 |
|---|---|---|
| committer | Mike Vink <mike@pionative.com> | 2025-02-08 07:32:40 +0100 |
| commit | cf38f99d3d55ca2b6afe600e9faaa7c4f7546898 (patch) | |
| tree | b6c3b31f36125e8277151bad431507f6385f7a4b /mvbs.sh | |
| parent | 6d8f9b935fa58938395a119f7d1b1fc5154aa336 (diff) | |
update progs mvbs.sh
Diffstat (limited to 'mvbs.sh')
| -rw-r--r-- | mvbs.sh | 16 |
1 files changed, 2 insertions, 14 deletions
@@ -1,10 +1,5 @@ #!/bin/sh -# Based on: -# Luke's Auto Rice Bootstrapping Script (MVBS) -# by Luke Smith <luke@lukesmith.xyz> -# 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." |
