Oops, I pasted modified file. The original uses -f for test. DEINSTALL) ${ECHO_N} "Removing font program symlinks..." for prog in ${FONT_PROGS}; do if [ -f ${PKG_PREFIX}/bin/$prog -a \ ${PKG_PREFIX} != ${X11BASE} ]; then ${RM} -f ${PKG_PREFIX}/bin/$prog fi done ${ECHO} "done." ;;