Update 3 files
- /home/.chezmoiscripts/universal/run_onchange_after_12-install-packages.tmpl - /home/dot_local/bin/executable_install-program - /software.yml
This commit is contained in:
parent
473fc3019e
commit
994280cf05
3 changed files with 7 additions and 1 deletions
|
@ -25,6 +25,9 @@ if command -v install-program > /dev/null; then
|
|||
log warn 'gcc either needs to be added to the PATH or it is missing'
|
||||
fi
|
||||
fi
|
||||
if [ -f "$HOME/.bashrc" ]; then
|
||||
. "$HOME/.bashrc"
|
||||
fi
|
||||
export LC_ALL="en_US.UTF-8"
|
||||
install-program {{ $softwareList }}
|
||||
else
|
||||
|
|
|
@ -1539,7 +1539,7 @@ async function linkBin(installOrdersBinLink) {
|
|||
} else if (binLink.preference === 'cask') {
|
||||
try {
|
||||
const caskWhen = softwarePackages[binLink.package]["_when:cask"]
|
||||
const caskDir = caskWhen.replace('test -d ', '').replace(/"/g, '')
|
||||
const caskDir = caskWhen.replace('! test -d ', '').replace(/"/g, '')
|
||||
if (fileExists(caskDir)) {
|
||||
runCommand(`Adding shortcut bin link for ${binLink.package}`, `bash -c 'mkdir -p "${process.env.HOME}/.local/bin/cask" && echo "open ${caskDir}" > "${process.env.HOME}/.local/bin/cask/${binLink.bin}"'`)
|
||||
} else {
|
||||
|
|
|
@ -3504,6 +3504,7 @@ softwarePackages:
|
|||
_github: https://github.com/keybase/client
|
||||
_home: https://keybase.io/
|
||||
_name: Keybase
|
||||
_when:ansible: '! test -f /opt/keybase/Keybase'
|
||||
_when:cask: '! test -d /Applications/Keybase.app'
|
||||
ansible: professormanhattan.keybase
|
||||
cask: keybase
|
||||
|
@ -5033,6 +5034,7 @@ softwarePackages:
|
|||
_github: https://github.com/safing/portmaster
|
||||
_home: https://safing.io/
|
||||
_name: Portmaster
|
||||
_when:linux: '! test -f /opt/safing/portmaster/portmaster-start'
|
||||
ansible:linux: professormanhattan.portmaster
|
||||
ansible:windows: professormanhattan.portmaster
|
||||
postman:
|
||||
|
@ -5310,6 +5312,7 @@ softwarePackages:
|
|||
_github: https://github.com/PabloLec/RecoverPy
|
||||
_home: https://github.com/PabloLec/RecoverPy
|
||||
_name: RecoverPy
|
||||
_when: '! pip3 list | grep recoverpy > /dev/null'
|
||||
ansible:linux: professormanhattan.recoverpy
|
||||
script:linux: python3 -m pip install recoverpy
|
||||
coreutils:
|
||||
|
|
Loading…
Reference in a new issue