Pacman is entirely broken. Oh well.

This commit is contained in:
John 2022-04-29 02:45:05 -05:00
parent cc26efacd4
commit d5389c5ed3

View File

@ -39,17 +39,18 @@ esac
if which pacman; then if which pacman; then
# Install dependencies with pacman # Install dependencies with pacman
dryrun $ELEVATE pacman -S - < package-managers/pacman.dependencies cat ./package-managers/pacman.dependencies | dryrun $ELEVATE pacman -S -
elif which apt-get; then elif which apt-get; then
# Install dependencies using apt-get # Install dependencies using apt-get
dryrun xargs -a ./package-managers/apt.dependencies $ELEVATE apt-get install -y dryrun xargs -a ./package-managers/apt.dependencies $ELEVATE apt-get install -y
# Install Node Version Manager (nvm) # Install Node Version Manager (nvm)
# TODO: Find a better way to install nvm on Ubuntu, the official NodeJS for <20.04 is so out of date it's unsupported. # TODO: Find a better way to install nvm on Ubuntu, the official NodeJS for <20.04 is so out of date it's unsupported.
dryrun curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | dryrun bash
export NVM_DIR="$HOME/.nvm" dryrun export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm dryrun [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion dryrun [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
# Check if vscode exists, if not, install it. # Check if vscode exists, if not, install it.
# Microsoft doesn't put it in any Ubuntu repos, you have to get it straight from them. # Microsoft doesn't put it in any Ubuntu repos, you have to get it straight from them.