Skip to content

Commit

Permalink
Updated grabber shell scripts
Browse files Browse the repository at this point in the history
They grab the files from Dropbox when they cannot be retrieved from my
server.
  • Loading branch information
vercas committed Feb 5, 2016
1 parent 8f0816b commit 9db954c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 9 deletions.
16 changes: 11 additions & 5 deletions grab_genisoimage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,19 @@ fi

mkdir -p $MISC_TOOLS_DIR

pushd "$MISC_TOOLS_DIR"

if [ ! -e "$MISC_TOOLS_DIR/genisoimage" ]
then
pushd "$MISC_TOOLS_DIR"

$PRECMD wget "http://u.vercas.com/genisoimage"
fi
RES=$?

if [ $RES != 0 ]
then
$PRECMD wget "https://dl.dropboxusercontent.com/u/1217587/genisoimage"
fi

chmod +x genisoimage
chmod +x genisoimage

popd
popd
fi
5 changes: 1 addition & 4 deletions grab_xcs_linux-amd64.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,7 @@ then

$PRECMD wget "http://u.vercas.com/gcc-x86_64-elf.tar.xz" -O $TMP
RES=$?
echo ""
echo "RESULT IS $RES"
echo ""


if [ $RES != 0 ]
then
$PRECMD wget "https://dl.dropboxusercontent.com/u/1217587/gcc-x86_64-elf.tar.xz" -O $TMP
Expand Down

0 comments on commit 9db954c

Please sign in to comment.