echo ">>> Order of operations ..." # Tests the type attribute in # Generate ${DIRTY_HACK}applications.menu mkdir -p ${XDG_CONFIG_DIR}/menus ./expand > ${XDG_CONFIG_DIR}/menus/${DIRTY_HACK}applications.menu < KDE Development Games Game Development Development/Games-New Games-Correct Development/Games Games-Wrong Development Games Games-New EOF # Move operations in sub-menus should be performed first # Install .desktop files installData ${XDG_DATA_DIR}/applications freecell.desktop glines.desktop gideon.desktop