mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 12:40:35 +01:00
11 lines
288 B
Bash
11 lines
288 B
Bash
#!/bin/bash
|
|
# Compresses every man page
|
|
APP=qelectrotech.1
|
|
MAN_DIR=$(dirname $0)/files
|
|
|
|
find ${MAN_DIR} -type f -name "${APP}" -exec gzip -9n {} \;
|
|
|
|
# correct files permissions
|
|
find ${MAN_DIR} -type d -exec chmod a+rx {} \;
|
|
find ${MAN_DIR} -type f -name "${APP}.gz" -exec chmod a+r {} \;
|