Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installer support for OS X 10.11 (El Capitan) #59

Merged
merged 3 commits into from Oct 1, 2015

Conversation

nathanpalmer
Copy link
Contributor

El Capitan introduces System Integrity Protection which does not allow writing out to certain "protected" directories. Because of the this the installer throws a warning and does not complete

screenshot 2015-08-10 16 44 05

The change is minor though we may want to discuss the best method here. I've globally changed it to write to /usr/local/bin. We could also throw a version condition in here if we want to only install to local on 10.11 and above.

…use of the newly introduced System Integrity Protection in OS X 10.11
@gaylatea
Copy link
Contributor

gaylatea commented Sep 8, 2015

As noted in another Pull Request, I'm not sure if AdRoll still wants to maintain this project.

I've forked it over at https://github.com/sanctuarygroup/hologram - can you please move this change there and I'll provide commentary?

@copumpkin
Copy link
Contributor

Can this be merged? Now that El Capitan is out, this breaks hologram in the common case.

@walterking
Copy link
Contributor

will it do the right thing if you have a previous version installed and install this, or will you end up with two binaries?

@nathanpalmer
Copy link
Contributor Author

@walterking Just added to the postinstall.sh to remove the previous binaries if they exist under /usr/bin/

walterking added a commit that referenced this pull request Oct 1, 2015
Installer support for OS X 10.11 (El Capitan)
@walterking walterking merged commit 8687a33 into AdRoll:master Oct 1, 2015
@copumpkin
Copy link
Contributor

Thanks!

@@ -2,13 +2,30 @@
# Remove the previous version of Hologram.
launchctl unload -w /Library/LaunchDaemons/com.adroll.hologram.plist

# Remove previous (old location) hologram binaries if they exist
if [ -f "/usr/bin/hologram-boot" ]; then
rm /usr/bin/hologram-boot
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This might not work on some systems. I would rather go for `rm -f'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants