Update 3 files

- /home/dot_local/bin/executable_install-program
- /home/.chezmoidata.yaml
- /software.yml
This commit is contained in:
Brian Zalewski 2023-01-05 05:12:32 +00:00
parent d9969dcdfb
commit 18bc37419e
3 changed files with 15 additions and 21 deletions

View file

@ -332,7 +332,6 @@ softwareGroups:
- hub
- lazygit
- mergestat
- starred
- tig
Git-Desktop: &Git-Desktop
- gitdock

View file

@ -625,7 +625,7 @@ async function beforeInstall(packageManager) {
} else if (packageManager === 'brew' || packageManager === 'cask') {
if (!brewUpdated) {
brewUpdated = true
await $`brew update`
runCommand('Running brew update', `brew update`)
}
} else if (packageManager === 'cargo') {
} else if (packageManager === 'choco') {
@ -635,35 +635,35 @@ async function beforeInstall(packageManager) {
const dnf = which.sync('dnf', { nothrow: true })
const yum = which.sync('yum', { nothrow: true })
if (dnf) {
await $`sudo dnf update -y`
runCommand('Running dnf update', `sudo dnf update -y`)
} else if (yum) {
await $`sudo yum update -y`
runCommand('Running yum update', `sudo yum update -y`)
}
} else if (packageManager === 'flatpak') {
await $`sudo flatpak update -y`
runCommand('Running flatpak update', `sudo flatpak update -y`)
} else if (packageManager === 'gem') {
} else if (packageManager === 'go') {
} else if (packageManager === 'nix') {
await $`nix-channel --update`
runCommand('Running nix-channel --update', `nix-channel --update`)
} else if (packageManager === 'npm') {
} else if (packageManager === 'pacman') {
await $`sudo pacman -Syu`
runCommand('Running pacman update', `sudo pacman -Syu`)
} else if (packageManager === 'pipx') {
} else if (packageManager === 'pkg') {
await $`sudo pkg upgrade`
} else if (packageManager === 'port') {
const port = which.sync('port', { nothrow: true })
if (port) {
await $`sudo port sync`
runCommand('Running port sync', `sudo port sync`)
} else {
log('error', 'Port Not Installed', 'Skipping sudo port sync step because port is not installed')
}
} else if (packageManager === 'scoop') {
await $`scoop update`
runCommand('Running scoop update', `scoop update`)
} else if (packageManager === 'snap' || packageManager === 'snap-classic') {
if (!snapRefreshed) {
snapRefreshed = true
await $`sudo snap refresh`
runCommand('Ensuring snap is refreshed', `sudo snap refresh`)
}
} else if (packageManager === 'whalebrew') {
if (osType === 'darwin') {
@ -698,10 +698,10 @@ async function beforeInstall(packageManager) {
}
}
} else if (packageManager === 'winget') {
await $`winget source update`
runCommand('Running winget source update', `winget source update`)
} else if (packageManager === 'yay') {
} else if (packageManager === 'zypper') {
await $`sudo zypper update`
runCommand('Running zypper update', `sudo zypper update`)
}
}

View file

@ -6393,15 +6393,10 @@ softwarePackages:
_service: null
_type: cli
github: github.com/suyashkumar/ssl-proxy
starred:
_bin: starred
_desc: null
_docs: null
_github: null
_home: null
_name: null
_service: null
pipx: starred
# Error installing aiohttp dependency
# starred:
# _bin: starred
# pipx: starred
starship:
_bin: null
_desc: '[Starship](https://starship.rs/) is the minimal, blazing fast, and extremely customizable prompt for any shell! It shows the information you need, while staying sleek and minimal. Unlike most other prompts, it is compatible with nearly every type of terminal. If you want to retain the same look and feel across different terminals, then look no further.'