matthewmueller / dots

WIP bootstrapping library for osx & ubuntu (and maybe others!)
http://lapwinglabs.com/blog/hacker-guide-to-setting-up-your-mac
542 stars 89 forks source link

failing to remove sleepimage in osx-for-hackers.sh in case sensitive OS X #11

Closed 0xafbf closed 9 years ago

0xafbf commented 9 years ago

title says it all. case-sensitive OS X shows these errors:

Remove the sleep image file to save disk space rm: /Private/var/vm/sleepimage: No such file or directory Creating a zero-byte file instead… touch: /Private/var/vm/sleepimage: No such file or directory …and make sure it can’t be rewritten chflags: /Private/var/vm/sleepimage: No such file or directory

because the folder is called 'private', not 'Private'