From 18bc37419e0f7cdebe229320fc8dd65090cf40a6 Mon Sep 17 00:00:00 2001 From: Brian Zalewski Date: Thu, 5 Jan 2023 05:12:32 +0000 Subject: [PATCH] Update 3 files - /home/dot_local/bin/executable_install-program - /home/.chezmoidata.yaml - /software.yml --- home/.chezmoidata.yaml | 1 - home/dot_local/bin/executable_install-program | 22 +++++++++---------- software.yml | 13 ++++------- 3 files changed, 15 insertions(+), 21 deletions(-) diff --git a/home/.chezmoidata.yaml b/home/.chezmoidata.yaml index 157f43fa..764500b1 100644 --- a/home/.chezmoidata.yaml +++ b/home/.chezmoidata.yaml @@ -332,7 +332,6 @@ softwareGroups: - hub - lazygit - mergestat - - starred - tig Git-Desktop: &Git-Desktop - gitdock diff --git a/home/dot_local/bin/executable_install-program b/home/dot_local/bin/executable_install-program index 5a0c925b..24c38e35 100644 --- a/home/dot_local/bin/executable_install-program +++ b/home/dot_local/bin/executable_install-program @@ -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`) } } diff --git a/software.yml b/software.yml index f56c7e22..3f0d2d03 100644 --- a/software.yml +++ b/software.yml @@ -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.'