Fix missing paths
This commit is contained in:
parent
b9331b0100
commit
eff240d9d9
@ -51,7 +51,7 @@ case "$QUERY_STRING" in
|
||||
*.narinfo)
|
||||
hash=${QUERY_STRING%.narinfo}
|
||||
hash=${hash#/}
|
||||
path="$(echo "$STORE_DIR/$hash-"* | sort | head -n 1)"
|
||||
path="$(echo "$STORE_DIR/$hash-"* | @coreutils@/sort | @coreutils@/head -n 1)"
|
||||
if [ -n "$path" ] && [ -e "$path" ]; then
|
||||
header
|
||||
info="$(
|
||||
|
Loading…
Reference in New Issue
Block a user