public void setScriptsPermission ( int event ) { if ( event == InstallProgressEvent . POST_INSTALL ? setScriptsPermission : getUninstallDirector ( ) . needToSetScriptsPermission ( ) ) { fireProgressEvent ( event , 95 , Messages . INSTALL_KERNEL_MESSAGES . getLogMessage ( "STATE_SET_SCRIPTS_PERMISSION" ) ) ; try { SelfExtractUtils . fixScriptPermissions ( new SelfExtractor . NullExtractProgress ( ) , product . getInstallDir ( ) , null ) ; } catch ( Exception e ) { } } }
Sets the scripts permissions to executable