home *** CD-ROM | disk | FTP | other *** search
Wrap
#!/bin/sh # #################################### # USE FOR SCM pre_install package maker scripts #################################### # - Removes all the localized languages (except for English.lproj) # Remove all the non-English Resources from all the QuickTime pieces. RM="/bin/rm -rf" LANGUAGES="Dutch.lproj French.lproj German.lproj Italian.lproj Japanese.lproj Spanish.lproj da.lproj fi.lproj ko.lproj no.lproj pt.lproj sv.lproj zh_CN.lproj zh_TW.lproj" for i in $LANGUAGES; do if [ -d "$3/Applications/QuickTime Player.app/Contents/PlugIns/AnnotationInspector.propPane/Contents/Resources/$i" ]; then $RM "$3/Applications/QuickTime Player.app/Contents/PlugIns/AnnotationInspector.propPane/Contents/Resources/$i" fi if [ -d "$3/Applications/QuickTime Player.app/Contents/PlugIns/AudioSettingsInspector.propPane/Contents/Resources/$i" ]; then $RM "$3/Applications/QuickTime Player.app/Contents/PlugIns/AudioSettingsInspector.propPane/Contents/Resources/$i" fi if [ -d "$3/Applications/QuickTime Player.app/Contents/PlugIns/DataRefInspector.propPane/Contents/Resources/$i" ]; then $RM "$3/Applications/QuickTime Player.app/Contents/PlugIns/DataRefInspector.propPane/Contents/Resources/$i" fi if [ -d "$3/Applications/QuickTime Player.app/Contents/PlugIns/NetworkInspector.propPane/Contents/Resources/$i" ]; then $RM "$3/Applications/QuickTime Player.app/Contents/PlugIns/NetworkInspector.propPane/Contents/Resources/$i" fi if [ -d "$3/Applications/QuickTime Player.app/Contents/PlugIns/SettingsInspector.propPane/Contents/Resources/$i" ]; then $RM "$3/Applications/QuickTime Player.app/Contents/PlugIns/SettingsInspector.propPane/Contents/Resources/$i" fi if [ -d "$3/Applications/QuickTime Player.app/Contents/PlugIns/VisualTrackInspector.propPane/Contents/Resources/$i" ]; then $RM "$3/Applications/QuickTime Player.app/Contents/PlugIns/VisualTrackInspector.propPane/Contents/Resources/$i" fi if [ -d "$3/Applications/QuickTime Player.app/Contents/Resources/$i" ]; then $RM "$3/Applications/QuickTime Player.app/Contents/Resources/$i" fi if [ -d "$3/Library/Audio/Plug-Ins/HAL/iSightAudio.plugin/Contents/Resources/$i" ]; then $RM "$3/Library/Audio/Plug-Ins/HAL/iSightAudio.plugin/Contents/Resources/$i" fi if [ -d "$3/Library/Audio/Plug-Ins/HAL/iSightAudio.plugin/Contents/Resources/IIDCAssistant.bundle/Contents/Resources/$i" ]; then $RM "$3/Library/Audio/Plug-Ins/HAL/iSightAudio.plugin/Contents/Resources/IIDCAssistant.bundle/Contents/Resources/$i" fi if [ -d "$3/Library/Internet Plug-Ins/QuickTime Plugin.plugin/Contents/Resources/$i" ]; then $RM "$3/Library/Internet Plug-Ins/QuickTime Plugin.plugin/Contents/Resources/$i" fi # if [ -d "$3/Library/Internet Plug-Ins/QuickTime Plugin.webplugin/Contents/Resources/$i" ]; then # $RM "$3/Library/Internet Plug-Ins/QuickTime Plugin.webplugin/Contents/Resources/$i" # fi if [ -d "$3/System/Library/Components/AudioCodecs.component/Contents/Resources/$i" ]; then $RM "$3/System/Library/Components/AudioCodecs.component/Contents/Resources/$i" fi if [ -d "$3/System/Library/Components/CoreAudio.component/Contents/Resources/$i" ]; then $RM "$3/System/Library/Components/CoreAudio.component/Contents/Resources/$i" fi if [ -d "$3/System/Library/Components/SoundManagerComponents.component/Contents/Resources/$i" ]; then $RM "$3/System/Library/Components/SoundManagerComponents.component/Contents/Resources/$i" fi if [ -d "$3/System/Library/Frameworks/AudioToolbox.framework/Versions/A/Resources/$i" ]; then $RM "$3/System/Library/Frameworks/AudioToolbox.framework/Versions/A/Resources/$i" fi if [ -d "$3/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CarbonSound.framework/Versions/A/Resources/PlugIns/SndRecordDialog.bundle/Contents/Resources/$i" ]; then $RM "$3/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CarbonSound.framework/Versions/A/Resources/PlugIns/SndRecordDialog.bundle/Contents/Resources/$i" fi if [ -d "$3/System/Library/Frameworks/QTKit.framework/Versions/A/Resources/$i" ]; then $RM "$3/System/Library/Frameworks/QTKit.framework/Versions/A/Resources/$i" fi if [ -d "$3/System/Library/Frameworks/QuartzCore.framework/Versions/A/Resources/$i" ]; then $RM "$3/System/Library/Frameworks/QuartzCore.framework/Versions/A/Resources/$i" fi if [ -d "$3/System/Library/Frameworks/QuickTime.framework/Versions/A/Resources/$i" ]; then $RM "$3/System/Library/Frameworks/QuickTime.framework/Versions/A/Resources/$i" fi if [ -d "$3/System/Library/PreferencePanes/QuickTime.prefPane/Contents/Resources/$i" ]; then $RM "$3/System/Library/PreferencePanes/QuickTime.prefPane/Contents/Resources/$i" fi if [ -d "$3/System/Library/PreferencePanes/QuickTime.prefPane/Contents/Resources/QTAdvanced.prefPane/Contents/Resources/$i" ]; then $RM "$3/System/Library/PreferencePanes/QuickTime.prefPane/Contents/Resources/QTAdvanced.prefPane/Contents/Resources/$i" fi if [ -d "$3/System/Library/PreferencePanes/QuickTime.prefPane/Contents/Resources/QTAdvanced.prefPane/Contents/Resources/QTMediaKeys.bundle/Contents/Resources/$i" ]; then $RM "$3/System/Library/PreferencePanes/QuickTime.prefPane/Contents/Resources/QTAdvanced.prefPane/Contents/Resources/QTMediaKeys.bundle/Contents/Resources/$i" fi if [ -d "$3/System/Library/PreferencePanes/QuickTime.prefPane/Contents/Resources/QTAdvanced.prefPane/Contents/Resources/QTMime.bundle/Contents/Resources/$i" ]; then $RM "$3/System/Library/PreferencePanes/QuickTime.prefPane/Contents/Resources/QTAdvanced.prefPane/Contents/Resources/QTMime.bundle/Contents/Resources/$i" fi if [ -d "$3/System/Library/PreferencePanes/QuickTime.prefPane/Contents/Resources/QTAdvanced.prefPane/Contents/Resources/QTTransport.bundle/Contents/Resources/$i" ]; then $RM "$3/System/Library/PreferencePanes/QuickTime.prefPane/Contents/Resources/QTAdvanced.prefPane/Contents/Resources/QTTransport.bundle/Contents/Resources/$i" fi if [ -d "$3/System/Library/PreferencePanes/QuickTime.prefPane/Contents/Resources/QTPlugIn.prefPane/Contents/Resources/$i" ]; then $RM "$3/System/Library/PreferencePanes/QuickTime.prefPane/Contents/Resources/QTPlugIn.prefPane/Contents/Resources/$i" fi if [ -d "$3/System/Library/PreferencePanes/QuickTime.prefPane/Contents/Resources/QTRegister.prefPane/Contents/Resources/$i" ]; then $RM "$3/System/Library/PreferencePanes/QuickTime.prefPane/Contents/Resources/QTRegister.prefPane/Contents/Resources/$i" fi if [ -d "$3/System/Library/PreferencePanes/QuickTime.prefPane/Contents/Resources/QTRegister.prefPane/Contents/Resources/QTAbout.bundle/Contents/Resources/$i" ]; then $RM "$3/System/Library/PreferencePanes/QuickTime.prefPane/Contents/Resources/QTRegister.prefPane/Contents/Resources/QTAbout.bundle/Contents/Resources/$i" fi if [ -d "$3/System/Library/PreferencePanes/QuickTime.prefPane/Contents/Resources/QTStreaming.prefPane/Contents/Resources/$i" ]; then $RM "$3/System/Library/PreferencePanes/QuickTime.prefPane/Contents/Resources/QTStreaming.prefPane/Contents/Resources/$i" fi if [ -d "$3/System/Library/PreferencePanes/QuickTime.prefPane/Contents/Resources/QTUpdate.prefPane/Contents/Resources/$i" ]; then $RM "$3/System/Library/PreferencePanes/QuickTime.prefPane/Contents/Resources/QTUpdate.prefPane/Contents/Resources/$i" fi if [ -d "$3/System/Library/QuickTime/QuickTime Updater.app/Contents/Resources/$i" ]; then $RM "$3/System/Library/QuickTime/QuickTime Updater.app/Contents/Resources/$i" fi if [ -d "$3/System/Library/QuickTime/QuickTime3GPP.component/Contents/Resources/$i" ]; then $RM "$3/System/Library/QuickTime/QuickTime3GPP.component/Contents/Resources/$i" fi if [ -d "$3/System/Library/QuickTime/QuickTimeComponents.component/Contents/Resources/$i" ]; then $RM "$3/System/Library/QuickTime/QuickTimeComponents.component/Contents/Resources/$i" fi if [ -d "$3/System/Library/QuickTime/QuickTimeFireWireDV.component/Contents/Resources/$i" ]; then $RM "$3/System/Library/QuickTime/QuickTimeFireWireDV.component/Contents/Resources/$i" fi if [ -d "$3/System/Library/QuickTime/QuickTimeH264.component/Contents/Resources/$i" ]; then $RM "$3/System/Library/QuickTime/QuickTimeH264.component/Contents/Resources/$i" fi if [ -d "$3/System/Library/QuickTime/QuickTimeIIDCDigitizer.component/Contents/Resources/$i" ]; then $RM "$3/System/Library/QuickTime/QuickTimeIIDCDigitizer.component/Contents/Resources/$i" fi if [ -d "$3/System/Library/QuickTime/QuickTimeMPEG.component/Contents/Resources/$i" ]; then $RM "$3/System/Library/QuickTime/QuickTimeMPEG.component/Contents/Resources/$i" fi if [ -d "$3/System/Library/QuickTime/QuickTimeMPEG4.component/Contents/Resources/$i" ]; then $RM "$3/System/Library/QuickTime/QuickTimeMPEG4.component/Contents/Resources/$i" fi if [ -d "$3/System/Library/QuickTime/QuickTimeStreaming.component/Contents/Resources/$i" ]; then $RM "$3/System/Library/QuickTime/QuickTimeStreaming.component/Contents/Resources/$i" fi if [ -d "$3/System/Library/QuickTime/QuickTimeVR.component/Contents/Resources/$i" ]; then $RM "$3/System/Library/QuickTime/QuickTimeVR.component/Contents/Resources/$i" fi # QT7Headers SDK installer if [ -d "$3/Developer/Extras/Palettes/QTKit.palette/Contents/Resources/$i" ]; then $RM "$3/Developer/Extras/Palettes/QTKit.palette/Contents/Resources/$i" fi done