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 - hub
- lazygit - lazygit
- mergestat - mergestat
- starred
- tig - tig
Git-Desktop: &Git-Desktop Git-Desktop: &Git-Desktop
- gitdock - gitdock

View file

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

View file

@ -6393,15 +6393,10 @@ softwarePackages:
_service: null _service: null
_type: cli _type: cli
github: github.com/suyashkumar/ssl-proxy github: github.com/suyashkumar/ssl-proxy
starred: # Error installing aiohttp dependency
_bin: starred # starred:
_desc: null # _bin: starred
_docs: null # pipx: starred
_github: null
_home: null
_name: null
_service: null
pipx: starred
starship: starship:
_bin: null _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.' _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.'