Update 3 files

- /home/.chezmoiremove
- /home/dot_local/bin/executable_install-program
- /software.yml
This commit is contained in:
Brian Zalewski 2023-01-25 07:32:37 +00:00
parent aeeacd5e6d
commit b1fcf67d3f
3 changed files with 23 additions and 1 deletions

View file

@ -14,6 +14,7 @@ Brewfile
.gconf/ .gconf/
.gitconfig .gitconfig
.gitignore .gitignore
.gnome/
.gradle .gradle
.inputrc .inputrc
.java/ .java/
@ -37,6 +38,7 @@ Brewfile
.vagrant.d/ .vagrant.d/
.viminfo .viminfo
.volta/ .volta/
.vscode/
.vscode-oss/ .vscode-oss/
.wgetrc .wgetrc
.wget-hsts .wget-hsts

View file

@ -498,7 +498,12 @@ async function OSTypeInstallerKey() {
const yum = which.sync('yum', { nothrow: true }) const yum = which.sync('yum', { nothrow: true })
const zypper = which.sync('zypper', { nothrow: true }) const zypper = which.sync('zypper', { nothrow: true })
if (apt) { if (apt) {
try {
await $`test -d /etc/ubuntu-advantage`
return 'ubuntu'
} catch (e) {
return 'apt' return 'apt'
}
} else if (dnf || yum) { } else if (dnf || yum) {
return 'dnf' return 'dnf'
} else if (pacman) { } else if (pacman) {

View file

@ -147,6 +147,21 @@ installerPreference:
- script - script
- ansible - ansible
- binary - binary
ubuntu:
- snap
- flatpak
- whalebrew
- apt
- brew
- go
- cargo
- npm
- pipx
- gem
- appimage
- script
- ansible
- binary
windows: windows:
- choco - choco
- scoop - scoop