Skip to content

Commit

Permalink
[postinst] not sure why we’re using an array here
Browse files Browse the repository at this point in the history
  • Loading branch information
kirb committed Jan 7, 2018
1 parent a768a8c commit 32aa5bb
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions postinst
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,9 @@ launchctl stop com.apple.mobile.installd

# due to some sort of unfortunate permission error created by an older build of cephei, and dpkg not
# really fixing them, we need to fix this ourselves
paths=(
"/Library/Frameworks/Cephei.framework"
"/Library/Frameworks/CepheiPrefs.framework"
"/Library/PreferenceBundles/Cephei.bundle"
)

chown -R root:wheel ${paths[@]}
chown -R root:wheel /Library/Frameworks/Cephei.framework \
/Library/Frameworks/CepheiPrefs.framework \
/Library/PreferenceBundles/Cephei.bundle

# and this somehow became a directory instead of a symlink
if [[ -d /Library/PreferenceBundles/Cephei.bundle ]]; then
Expand Down

0 comments on commit 32aa5bb

Please sign in to comment.