#!/bin/sh
files_exist()
{
    [ -e "$1" ]
}
if ! files_exist $REPOCOP_PKG_ROOT/usr/lib/menu/*  && \
   ! files_exist $REPOCOP_PKG_ROOT/usr/share/applications/* ; then
    exec repocop-test-skip
fi
if files_exist $REPOCOP_PKG_ROOT/usr/share/icons/hicolor/48x48/apps/* ; then
    exec repocop-test-ok
fi
if files_exist $REPOCOP_PKG_ROOT/usr/share/pixmaps/*; then
    exec repocop-test-experimental "Please, move pixmaps from /usr/share/pixmaps to %_liconsdir, %_niconsdir, %_miconsdir according to their size. See http://www.altlinux.org/IconPathsPolicy."
fi
exec repocop-test-skip
