mirror of
https://codeberg.org/kiss-community/kiss
synced 2024-11-04 22:15:36 -07:00
kiss-outdated: fix repo name for cleaner cache (#101)
If you run `kiss outdated .`, everything works but the cached SVGs are all dumped into ~/.cache/kiss/repology/ rather than ~/.cache/kiss/repology/repo/. Fix this by getting the repo name from PWD. Co-authored-by: phoebos <ben@bvnf.space> Reviewed-on: https://codeberg.org/kiss-community/kiss/pulls/101 Co-authored-by: phoebos <phoebos@noreply.codeberg.org> Co-committed-by: phoebos <phoebos@noreply.codeberg.org>
This commit is contained in:
parent
74f78a8529
commit
58475f7f29
@ -333,7 +333,7 @@ repo_version() {
|
||||
}
|
||||
|
||||
get_outdated() {
|
||||
repo=${repo%%/}
|
||||
repo=${PWD%%/}
|
||||
printf '\n[Checking Repology for outdated packages in %s]\n\n' "$repo" >&2
|
||||
|
||||
for pkg in */; do
|
||||
|
Loading…
Reference in New Issue
Block a user