aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2012-05-06 00:59:00 -0500
committerJack Nagel2012-05-06 01:07:47 -0500
commit44179f81988e3c8a8682894afffaf989c193d00a (patch)
tree7a16578974a81f81b2c161a76f945a234df3da67 /Library
parent6035142737bd291950ca6ee45b11c6dd6087c190 (diff)
downloadhomebrew-44179f81988e3c8a8682894afffaf989c193d00a.tar.bz2
psftools: clean up test
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/psftools.rb7
1 files changed, 1 insertions, 6 deletions
diff --git a/Library/Formula/psftools.rb b/Library/Formula/psftools.rb
index c5fb01d4c..edce24b71 100644
--- a/Library/Formula/psftools.rb
+++ b/Library/Formula/psftools.rb
@@ -17,12 +17,7 @@ class Psftools < Formula
curl "http://www.zone38.net/font/pc8x8.zip", "-O"
system "/usr/bin/unzip pc8x8.zip"
system "#{bin}/fon2fnts pc8x8.fon"
- if File.exist? "PC8X8_9.fnt"
- puts "PC8X8_9.fnt was extracted"
- else
- puts "PC8X8_9.fnt was not extracted"
- raise "PC8X8_9.fnt was not extracted"
- end
+ raise unless File.exist? "PC8X8_9.fnt"
end
end
end