Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -135,15 +135,15 @@ chmod +x "$exe" ||
# Install man pages if available and on Unix systems
if [[ $platform != MINGW64* ]]; then
man_pages_found=0
for man_file in "$temp_extract_dir"/man/*.1 2>/dev/null; do
for man_file in "$temp_extract_dir"/man/*.1; do
if [[ -f "$man_file" ]]; then
cp "$man_file" "$man_dir/" 2>/dev/null || true
man_pages_found=$((man_pages_found + 1))
fi
done

# Also check for man pages in root of archive
for man_file in "$temp_extract_dir"/*.1 2>/dev/null; do
for man_file in "$temp_extract_dir"/*.1; do
if [[ -f "$man_file" ]]; then
cp "$man_file" "$man_dir/" 2>/dev/null || true
man_pages_found=$((man_pages_found + 1))
Expand Down
Loading