question: public void registerInstallation ( ) { try { File timestampFile = new File ( getExtractDir ( ) , ".cargo" ) ; BufferedWriter bw = new BufferedWriter ( new FileWriter ( timestampFile ) ) ; bw . write ( "Do not remove this file" ) ; bw . close ( ) ; } catch ( Exception e ) { } }
target:  Create timestamp file to register that the installation has been successful. This allows to prevent installing again next time. If the remote URL changes, then the container will be reinstalled.