|
@ -23,9 +23,12 @@ _astronaut_nuke_dir_install=true |
|
|
# Gzip man and info pages |
|
|
# Gzip man and info pages |
|
|
if [ -d "$dir_install/$dir_prefix/$dir_mandir" ]; then |
|
|
if [ -d "$dir_install/$dir_prefix/$dir_mandir" ]; then |
|
|
find "$dir_install/$dir_prefix/$dir_mandir" -type f -exec gzip -9 {} \; |
|
|
find "$dir_install/$dir_prefix/$dir_mandir" -type f -exec gzip -9 {} \; |
|
|
for i in $(find "$dir_install/$dir_prefix/$dir_mandir" -type l) ; do ln -s "$(readlink "$i").gz" "$i.gz"; rm "$i"; done |
|
|
for i in $(find "$dir_install/$dir_prefix/$dir_mandir" -type l); do ln -s "$(readlink "$i").gz" "$i.gz"; rm "$i"; done |
|
|
|
|
|
fi |
|
|
|
|
|
if [ -d "$dir_install/$dir_prefix/$dir_infodir" ]; then |
|
|
|
|
|
rm -f "$dir_install/$dir_prefix/$dir_infodir/dir" |
|
|
|
|
|
gzip -9 -r "$dir_install/$dir_prefix/$dir_infodir" |
|
|
fi |
|
|
fi |
|
|
[ -d "$dir_install/$dir_prefix/$dir_infodir" ] && gzip -9 -r "$dir_install/$dir_prefix/$dir_infodir" |
|
|
|
|
|
|
|
|
|
|
|
# _dir_pkgtools should be set from a configuration file (e.g. ~/.astronaut.conf), and points to wherever you want your packages to be placed. |
|
|
# _dir_pkgtools should be set from a configuration file (e.g. ~/.astronaut.conf), and points to wherever you want your packages to be placed. |
|
|
[ "$dir_wrapper_pkgtools" ] && mkdir -p "$dir_wrapper_pkgtools" || dir_wrapper_pkgtools="$_topdir" |
|
|
[ "$dir_wrapper_pkgtools" ] && mkdir -p "$dir_wrapper_pkgtools" || dir_wrapper_pkgtools="$_topdir" |
|
|