Last Updated: February 25, 2016
·
350
· tacoen

freegamesforyourwebsite.com repository-alike

#!/bin/bash
#
#usage syntax : fog [game-id]
#
PACK=$1
REPOS="/var/www/fog/.repos"
wget -c http://www.freegamesforyourwebsite.com/download.php?g=$PACK -O $REPOS/$PACK.zip
unzip -j $REPOS/$PACK.zip -d /var/www/fog/$PACK