#!/bin/sh
# espgs.fixup by <volkerdi@slackware.com>

# Sanity check/usage:
if [ ! -r usr/bin/gs ]; then
  cat << EOF
This script is run in the root dir of an extacted build to
fix up permissions, man pages, and a couple other things
before it can be packaged up with 'makepkg'.

FATAL: No usr/bin/gs found from package root.
EOF
  sleep 100000
fi

# What are these doing in here?
rm -f usr/man/man1/ansi2knr.1.gz
rm -f usr/man/de/man1/ansi2knr.1.gz
rm -rf usr/share/libtool

# Whatever you're using to extract should strip everything.

# OK, that should about cover it.  :-)

