Permalink
Browse files

Quote pathnames in script

Signed-off-by: Jonathan 'Wolf' Rentzsch <jwr.git@redshed.net>
  • Loading branch information...
1 parent 37db4af commit 80c7687a9b88b7c74afe28e31be791fe50a81ff5 @0xced 0xced committed with May 4, 2009
Showing with 2 additions and 2 deletions.
  1. +2 −2 Package/postflight.txt
View
4 Package/postflight.txt
@@ -1,7 +1,7 @@
#!/bin/sh
-rm -R $HOME/Library/Internet\ Plug-Ins/ClickToFlash.plugin
-mv /tmp/ClickToFlash.plugin $HOME/Library/Internet\ Plug-Ins/
+rm -rf "$HOME/Library/Internet Plug-Ins/ClickToFlash.plugin"
+mv /tmp/ClickToFlash.plugin "$HOME/Library/Internet Plug-Ins/"
pkgutil --forget com.github.rentzsch.clicktoflash.pkg
exit 0

0 comments on commit 80c7687

Please sign in to comment.