Removing redundant shell script

This commit is contained in:
ilumos 2017-08-21 21:36:32 +01:00
parent 4a5243b3f0
commit 5498ff1a30

View file

@ -1,14 +0,0 @@
#!/bin/bash
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
URL="http://steamspy.com/api.php?request=top100in2weeks"
echo "Downloading list of top 100 free apps..."
curl -s $URL | jq '[.[] | select(.price == "0") | {id: .appid, name}]' > $SCRIPT_DIR/top_100_free_apps.json
echo "Downloading list of top 100 paid apps..."
curl -s $URL | jq '[.[] | select(.price != "0") | {id: .appid, name}]' > $SCRIPT_DIR/top_100_paid_apps.json
echo "Creating default app download list from list of top 100 free apps..."
cp $SCRIPT_DIR/top_100_free_apps.json $SCRIPT_DIR/app_download_list.json