Skip to content

Commit

Permalink
now I'm just being pedantic, but making sure that all the permissions…
Browse files Browse the repository at this point in the history
… are correct since we don't overwrite permissions when installing
  • Loading branch information
Simone Manganelli authored and Simone Manganelli committed Aug 24, 2009
1 parent 063a4b5 commit e84a62a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Installer/scripts/postflight
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +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"
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

0 comments on commit e84a62a

Please sign in to comment.