[alfred][git] don't break the plist cleaning on Linux

pull/28/head
Alpha Chen 6 years ago
parent 30d0b60882
commit 4ba0544dfe

@ -10,6 +10,8 @@ ensure
end end
plist = ARGF.read plist = ARGF.read
puts plist and exit unless File.exist?("/usr/libexec/PlistBuddy")
with_tempfile('info.plist') do |f| with_tempfile('info.plist') do |f|
f << plist f << plist
f.flush f.flush

Loading…
Cancel
Save