Update 3 files
- /home/.chezmoiremove - /home/dot_local/bin/executable_install-program - /software.yml
This commit is contained in:
parent
aeeacd5e6d
commit
b1fcf67d3f
3 changed files with 23 additions and 1 deletions
|
@ -14,6 +14,7 @@ Brewfile
|
|||
.gconf/
|
||||
.gitconfig
|
||||
.gitignore
|
||||
.gnome/
|
||||
.gradle
|
||||
.inputrc
|
||||
.java/
|
||||
|
@ -37,6 +38,7 @@ Brewfile
|
|||
.vagrant.d/
|
||||
.viminfo
|
||||
.volta/
|
||||
.vscode/
|
||||
.vscode-oss/
|
||||
.wgetrc
|
||||
.wget-hsts
|
||||
|
|
|
@ -498,7 +498,12 @@ async function OSTypeInstallerKey() {
|
|||
const yum = which.sync('yum', { nothrow: true })
|
||||
const zypper = which.sync('zypper', { nothrow: true })
|
||||
if (apt) {
|
||||
try {
|
||||
await $`test -d /etc/ubuntu-advantage`
|
||||
return 'ubuntu'
|
||||
} catch (e) {
|
||||
return 'apt'
|
||||
}
|
||||
} else if (dnf || yum) {
|
||||
return 'dnf'
|
||||
} else if (pacman) {
|
||||
|
|
15
software.yml
15
software.yml
|
@ -147,6 +147,21 @@ installerPreference:
|
|||
- script
|
||||
- ansible
|
||||
- binary
|
||||
ubuntu:
|
||||
- snap
|
||||
- flatpak
|
||||
- whalebrew
|
||||
- apt
|
||||
- brew
|
||||
- go
|
||||
- cargo
|
||||
- npm
|
||||
- pipx
|
||||
- gem
|
||||
- appimage
|
||||
- script
|
||||
- ansible
|
||||
- binary
|
||||
windows:
|
||||
- choco
|
||||
- scoop
|
||||
|
|
Loading…
Reference in a new issue