I am working on a package that installs files to the @temp directory, but it's not completed yet so I can easily use atmark_temp in cpack.  Not sure about rodrigo.  @rpastrana is your concern related to one of your package files that is looking to install files to @temp?  

But symlinking would not fix the problem anyway.  The files currently in @temp are xsl files.  The application uses the xsl transformations on the environment.xml.  With your code changes the application will look in atmark_temp for the xsl files, it will not invoke anything from @temp. So I think that the symlinks should be from @temp -> atmark_temp, not the other way around, and then only for files that are not included as part of the platform.  

So upon installation, any files in @temp (if it exists) that are not part of the platform should be symlinked to atmark_temp.  Upon uninstall,  the symlinks should first be removed, then the process should proceed as it does now, which should check to see if atmark_temp has new files that were not part of the platform installation before deciding on whether to remove the atmark_temp directory.