Skip to content

Commit ca6a9ae

Browse files
committed
fix(catalog): add version_flag for tree to prevent false detection
tree -v means verbose listing, not version. The generic version detection tries -v first, which outputs a directory listing where filenames like "codex.sqlite3.before-v1.9.1.bak" match the version regex, causing incorrect version detection. Specifying --version skips the -v probe. Signed-off-by: Sebastian Mendel <sebastian.mendel@netresearch.de> Signed-off-by: Sebastian Mendel <info@sebastianmendel.de>
1 parent 25c40aa commit ca6a9ae

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

catalog/tree.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"homepage": "https://github.com/Old-Man-Programmer/tree",
77
"github_repo": "Old-Man-Programmer/tree",
88
"binary_name": "tree",
9+
"version_flag": "--version",
910
"script": "install_tree.sh",
1011
"tags": [
1112
"file-utils"

0 commit comments

Comments
 (0)