update-bin.sh 240 B

1234567891011121314
  1. #! /bin/sh
  2. ## script to pull latest binary from online and make it executable
  3. url="$1"
  4. if [ "$url" == "" ]; then
  5. echo "Error: need URL"
  6. exit
  7. fi
  8. rm -rf card-manager
  9. wget --no-check-certificate $url
  10. chmod +x card-manager