mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 15:11:25 +00:00
stdenv/setup.sh: add .gz extension to links to .gz man pages
The links weren't broken since 0a44a09
, but man showed garbage.
Tested on several packages (sudo, dosfstools, xz).
This commit is contained in:
parent
ac6761c908
commit
204ec0cd43
@ -768,7 +768,7 @@ fixupPhase() {
|
|||||||
done
|
done
|
||||||
for f in "$out"/share/man/*/* "$out"/share/man/*/*/*; do
|
for f in "$out"/share/man/*/* "$out"/share/man/*/*/*; do
|
||||||
if [ -L "$f" -a -f `readlink -f "$f"`.gz ]; then
|
if [ -L "$f" -a -f `readlink -f "$f"`.gz ]; then
|
||||||
ln -sf `readlink "$f"`.gz "$f"
|
ln -sf `readlink "$f"`.gz "$f".gz && rm "$f"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
unset GLOBIGNORE
|
unset GLOBIGNORE
|
||||||
|
Loading…
Reference in New Issue
Block a user