diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-05-25 13:41:13 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-05-25 13:41:13 +0200 |
commit | 7d3aaa963081e7bfe831fabb0f11aaf542c3357d (patch) | |
tree | a314205dec6282478c497bd3573eaca800c88804 /pkgs | |
parent | fix(modules/services/nix): Add my overlayed `nixpkgs` to the flake (diff) | |
download | nixos-config-7d3aaa963081e7bfe831fabb0f11aaf542c3357d.tar.gz nixos-config-7d3aaa963081e7bfe831fabb0f11aaf542c3357d.zip |
style(treewide): Format
Diffstat (limited to 'pkgs')
-rwxr-xr-x | pkgs/by-name/co/comments/update.sh | 1 | ||||
-rwxr-xr-x | pkgs/by-name/ge/generate_moz_extension/update.sh | 1 | ||||
-rwxr-xr-x | pkgs/by-name/lf/lf-make-map/update.sh | 1 | ||||
-rwxr-xr-x | pkgs/by-name/up/update-vim-plugins/update.sh | 1 | ||||
-rw-r--r-- | pkgs/by-name/vi/vimExtraPlugins/plugins/plugins.md | 2 | ||||
-rwxr-xr-x | pkgs/by-name/ya/yambar-cpu/update.sh | 1 | ||||
-rwxr-xr-x | pkgs/by-name/ya/yambar-memory/update.sh | 1 | ||||
-rwxr-xr-x | pkgs/by-name/yt/yt/update.sh | 1 | ||||
-rwxr-xr-x | pkgs/update_pkgs.sh | 6 |
9 files changed, 4 insertions, 11 deletions
diff --git a/pkgs/by-name/co/comments/update.sh b/pkgs/by-name/co/comments/update.sh index 407a2f60..b9404867 100755 --- a/pkgs/by-name/co/comments/update.sh +++ b/pkgs/by-name/co/comments/update.sh @@ -1,6 +1,5 @@ #!/usr/bin/env sh - [ "$1" = "upgrade" ] && cargo upgrade cargo update diff --git a/pkgs/by-name/ge/generate_moz_extension/update.sh b/pkgs/by-name/ge/generate_moz_extension/update.sh index 407a2f60..b9404867 100755 --- a/pkgs/by-name/ge/generate_moz_extension/update.sh +++ b/pkgs/by-name/ge/generate_moz_extension/update.sh @@ -1,6 +1,5 @@ #!/usr/bin/env sh - [ "$1" = "upgrade" ] && cargo upgrade cargo update diff --git a/pkgs/by-name/lf/lf-make-map/update.sh b/pkgs/by-name/lf/lf-make-map/update.sh index 56105a1d..7d517e8b 100755 --- a/pkgs/by-name/lf/lf-make-map/update.sh +++ b/pkgs/by-name/lf/lf-make-map/update.sh @@ -1,5 +1,4 @@ #!/usr/bin/env sh - [ "$1" = "upgrade" ] && cargo upgrade cargo update diff --git a/pkgs/by-name/up/update-vim-plugins/update.sh b/pkgs/by-name/up/update-vim-plugins/update.sh index 1d9d03b0..1bad12a9 100755 --- a/pkgs/by-name/up/update-vim-plugins/update.sh +++ b/pkgs/by-name/up/update-vim-plugins/update.sh @@ -1,6 +1,5 @@ #!/usr/bin/env sh - poetry update --lock # vim: ft=sh diff --git a/pkgs/by-name/vi/vimExtraPlugins/plugins/plugins.md b/pkgs/by-name/vi/vimExtraPlugins/plugins/plugins.md index c4906618..1efcd762 100644 --- a/pkgs/by-name/vi/vimExtraPlugins/plugins/plugins.md +++ b/pkgs/by-name/vi/vimExtraPlugins/plugins/plugins.md @@ -1,4 +1,4 @@ - - Plugin count: 3 +- Plugin count: 3 | Repo | Last Update | Nix package name | Last checked | |:---|:---|:---|:---| diff --git a/pkgs/by-name/ya/yambar-cpu/update.sh b/pkgs/by-name/ya/yambar-cpu/update.sh index 407a2f60..b9404867 100755 --- a/pkgs/by-name/ya/yambar-cpu/update.sh +++ b/pkgs/by-name/ya/yambar-cpu/update.sh @@ -1,6 +1,5 @@ #!/usr/bin/env sh - [ "$1" = "upgrade" ] && cargo upgrade cargo update diff --git a/pkgs/by-name/ya/yambar-memory/update.sh b/pkgs/by-name/ya/yambar-memory/update.sh index 407a2f60..b9404867 100755 --- a/pkgs/by-name/ya/yambar-memory/update.sh +++ b/pkgs/by-name/ya/yambar-memory/update.sh @@ -1,6 +1,5 @@ #!/usr/bin/env sh - [ "$1" = "upgrade" ] && cargo upgrade cargo update diff --git a/pkgs/by-name/yt/yt/update.sh b/pkgs/by-name/yt/yt/update.sh index 407a2f60..b9404867 100755 --- a/pkgs/by-name/yt/yt/update.sh +++ b/pkgs/by-name/yt/yt/update.sh @@ -1,6 +1,5 @@ #!/usr/bin/env sh - [ "$1" = "upgrade" ] && cargo upgrade cargo update diff --git a/pkgs/update_pkgs.sh b/pkgs/update_pkgs.sh index 0a8c4cfc..3e33b720 100755 --- a/pkgs/update_pkgs.sh +++ b/pkgs/update_pkgs.sh @@ -9,14 +9,14 @@ cd "$(dirname "$0")" || die "Bug: run with the wrong first arg: '$0'!" cd ./by-name || die "(BUG): The directory './by-name' does not exist?" # First check if all the update scripts conform to the standard -files_with_update="$(mktemp)"; +files_with_update="$(mktemp)" trap 'rm "$files_with_update"' EXIT fd '^update.sh$' . --type file --extension sh --max-depth 3 | while read -r file; do - grep -q "nix flake update" "$file" && echo "$file" >> "$files_with_update" + grep -q "nix flake update" "$file" && echo "$file" >>"$files_with_update" done -if [ "$(wc -l < "$files_with_update")" != 0 ]; then +if [ "$(wc -l <"$files_with_update")" != 0 ]; then die "Some packages seem to try to update their flake with 'nix flake update'. This is redundant. These Packages are: $(echo && cat "$files_with_update")" fi |