Update .chezmoidata/packages.yaml
Update update_packagelist.sh
This commit is contained in:
parent
e287de8a2d
commit
0e744637b7
|
@ -18,6 +18,7 @@ packages:
|
||||||
- git
|
- git
|
||||||
- gmp
|
- gmp
|
||||||
- icu4c
|
- icu4c
|
||||||
|
- jless
|
||||||
- jq
|
- jq
|
||||||
- jsoncpp
|
- jsoncpp
|
||||||
- libgit2
|
- libgit2
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
# packages.yaml hash: {{ include ".chezmoidata/packages.yaml" | sha256sum }}
|
||||||
|
|
||||||
# Generate the list of installed brew packages
|
# Generate the list of installed brew packages
|
||||||
brews=$(brew list --formula | awk '{print " - "$1}')
|
brews=$(brew list --formula | awk '{print " - "$1}')
|
||||||
|
|
||||||
|
@ -7,12 +9,11 @@ brews=$(brew list --formula | awk '{print " - "$1}')
|
||||||
casks=$(brew list --cask | awk '{print " - "$1}')
|
casks=$(brew list --cask | awk '{print " - "$1}')
|
||||||
|
|
||||||
# Print the output in the desired format
|
# Print the output in the desired format
|
||||||
cat <<EOF
|
cat <<EOF > {{ .chezmoi.sourceDir }}/.chezmoidata/packages.yaml
|
||||||
packages:
|
packages:
|
||||||
darwin:
|
darwin:
|
||||||
brews:
|
brews:
|
||||||
$brews
|
$brews
|
||||||
casks:
|
casks:
|
||||||
$casks
|
$casks
|
||||||
EOF > {{ .chezmoi.sourceDir }}/.chezmoidata/packages.yaml
|
EOF
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue