qelectrotech-source-mirror/man/uncompress_man_pages.sh

11 lines
289 B
Bash
Raw Permalink Normal View History

#!/bin/bash
# Uncompresses every man page
APP=qelectrotech.1
MAN_DIR=$(dirname $0)/files
find ${MAN_DIR} -type f -name "${APP}.gz" -exec gzip -d {} \;
# correct files permissions
find ${MAN_DIR} -type d -exec chmod a+rx {} \;
find ${MAN_DIR} -type f -name "${APP}" -exec chmod a+r {} \;