Skip to content

Commit

Permalink
Updated munki pkg export
Browse files Browse the repository at this point in the history
  • Loading branch information
mikaellofgren committed Mar 20, 2019
1 parent 050fd62 commit e6cd843
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
Binary file not shown.
5 changes: 3 additions & 2 deletions PrinterSetup/AppDelegate.applescript
Original file line number Diff line number Diff line change
Expand Up @@ -750,8 +750,9 @@ exit 0</string>
set eof of theOpenedFile to 0
write theText to theOpenedFile starting at eof as «class utf8»
close access theOpenedFile
set finalCheck to do shell script "/usr/bin/plutil -lint "& finalCheckPath &" | awk '{print $2}'"
if finalCheck is "OK" then
set finalCheck to do shell script "/usr/bin/plutil -lint -s " & quoted form of finalCheckPath
log finalCheck
if finalCheck is "" then
log ""& finalCheckPath &" is OK"
display notification "Succesfully exported munki pkg info to: "& finalCheckPath &""
return true
Expand Down
2 changes: 1 addition & 1 deletion PrinterSetup/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.01</string>
<string>1.02</string>
<key>CFBundleVersion</key>
<string>1</string>
<key>LSApplicationCategoryType</key>
Expand Down

0 comments on commit e6cd843

Please sign in to comment.