Browse Source

Remove info dir from package with astronautpkg

master
mid-kid 8 years ago
parent
commit
18fd271bef
  1. 5
      astronaut/astronautpkg

5
astronaut/astronautpkg

@ -25,7 +25,10 @@ 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 fi
[ -d "$dir_install/$dir_prefix/$dir_infodir" ] && gzip -9 -r "$dir_install/$dir_prefix/$dir_infodir" 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
# _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"

Loading…
Cancel
Save