patch-ATR_analysis 482 B

1234567891011121314151617181920
  1. $OpenBSD: patch-ATR_analysis,v 1.2 2016/07/30 21:14:00 sthen Exp $
  2. --- ATR_analysis.orig Sat Jul 2 17:24:38 2016
  3. +++ ATR_analysis Sat Jul 30 22:12:56 2016
  4. @@ -241,14 +241,7 @@ sub update_smartcard_list($$)
  5. {
  6. print "Updating $file using $url\n";
  7. - if ($^O =~ "darwin")
  8. - {
  9. - system("curl $url --output $file");
  10. - }
  11. - else
  12. - {
  13. - system("wget --quiet $url --output-document=$file ; touch $file");
  14. - }
  15. + system("ftp -o $file $url");
  16. # did an update
  17. return 1;