Only check coverity_scan branch
[supertux.git] / tools / png_recompress.sh
index 5ca5674..1e16446 100755 (executable)
 #  You should have received a copy of the GNU General Public License
 #  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #
-# This script recompressess .png files using optipng and
+# This script recompresses .png files using optipng and
 # advpng to get the smallest images. All recompression is
-# looseless.
+# lossless.
 #
 # This script needs at least bash3, bash2 will not work
 #
 # TODO:
-#  * Make it work recursivly on a directory.
+#  * Make it work recursively on a directory.
 
 # Check for new enough bash version
 fail_old_bash() {
@@ -58,10 +58,11 @@ fi
 
 if ! type advpng > /dev/null 2>&1; then
        echo "Can't find advpng!"
-       echo "This script depends on the optipng tool to be in PATH."
+       echo "This script depends on the advpng tool to be in PATH."
        echo "Please install it or, if it is already installed add the"
        echo "directory it is in to PATH and try again."
        echo "Homepage of this tool is: http://advancemame.sourceforge.net/comp-readme.html"
+       echo "Hint: For package name in your distro, try looking for \"advancecomp\"."
        exit 1
 fi