Skip to content

Commit

Permalink
Revert "Tweak postflight script to ensure plugin dirs are installed e…
Browse files Browse the repository at this point in the history
…xecutable."

This reverts commit 3c2b3ac.
  • Loading branch information
rentzsch committed Aug 28, 2009
1 parent e4aac7f commit 020cf72
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Installer/scripts/postflight
Expand Up @@ -4,11 +4,10 @@ rm -rf "$HOME/Library/Internet Plug-Ins/ClickToFlash.plugin"
rm -rf "$HOME/Library/Internet Plug-Ins/ClickToFlash.webplugin"
mv /tmp/ClickToFlash.webplugin "$HOME/Library/Internet Plug-Ins/"
chown -R $USER "$HOME/Library/Internet Plug-Ins/ClickToFlash.webplugin"
find "$HOME/Library/Internet Plug-Ins/ClickToFlash.webplugin" -type d -exec chmod 755 \{} \;
find "$HOME/Library/Internet Plug-Ins/ClickToFlash.webplugin" -type f -exec chmod 644 \{} \;
chmod -R 664 "$HOME/Library/Internet Plug-Ins/ClickToFlash.webplugin"
chmod 775 "$HOME/Library/Internet Plug-Ins/ClickToFlash.webplugin/Contents/MacOS/ClickToFlash"
chmod 775 "$HOME/Library/Internet Plug-Ins/ClickToFlash.webplugin/Contents/Frameworks/Sparkle.framework/Versions/A/Sparkle"
chmod 775 "$HOME/Library/Internet Plug-Ins/ClickToFlash.webplugin/Contents/Frameworks/Sparkle.framework/Versions/A/Resources/relaunch"
pkgutil --forget com.github.rentzsch.clicktoflash.pkg

exit 0
exit 0

0 comments on commit 020cf72

Please sign in to comment.