Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance the availability of scripts in bad network #614

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -76,27 +76,31 @@ fi

function install_yaffshiv
{
$SUDO rm -rf yaffshiv
git clone --quiet --depth 1 --branch "master" https://github.com/devttys0/yaffshiv
(cd yaffshiv && $SUDO $PYTHON setup.py install)
$SUDO rm -rf yaffshiv
}

function install_sasquatch
{
$SUDO rm -rf sasquatch
git clone --quiet --depth 1 --branch "master" https://github.com/devttys0/sasquatch
(cd sasquatch && $SUDO ./build.sh)
$SUDO rm -rf sasquatch
}

function install_jefferson
{
$SUDO rm -rf jefferson
git clone --quiet --depth 1 --branch "master" https://github.com/sviehb/jefferson
(cd jefferson && $SUDO $PYTHON -mpip install -r requirements.txt && $SUDO $PYTHON setup.py install)
$SUDO rm -rf jefferson
}

function install_unstuff
{
rm -rf /tmp/unstuff
mkdir -p /tmp/unstuff
cd /tmp/unstuff

Expand All @@ -112,6 +116,7 @@ function install_cramfstools
TIME=`date +%s`
INSTALL_LOCATION=/usr/local/bin

rm -rf cramfs-tools
# https://github.com/torvalds/linux/blob/master/fs/cramfs/README#L106
git clone --quiet --depth 1 --branch "master" https://github.com/npitre/cramfs-tools
# There is no "make install"
Expand Down