Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
binwalk
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fact-depend
binwalk
Commits
f7a77ed1
Commit
f7a77ed1
authored
4 years ago
by
Peter Eacmen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fail deps.sh if any install command fails
parent
80a519b6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletions
+6
-1
.gitignore
.gitignore
+2
-0
deps.sh
deps.sh
+4
-1
No files found.
.gitignore
View file @
f7a77ed1
...
...
@@ -3,3 +3,4 @@ dist
.coverage
*.extracted
*.pyc
**/*.egg-info
\ No newline at end of file
This diff is collapsed.
Click to expand it.
deps.sh
View file @
f7a77ed1
...
...
@@ -8,7 +8,9 @@ else
YES
=
0
fi
set
-eu
set
-o
nounset
set
-x
if
!
which lsb_release
>
/dev/null
then
...
...
@@ -65,6 +67,7 @@ PIP_COMMANDS="pip3"
# Check for root privileges
if
[
$UID
-eq
0
]
then
echo
"UID is 0, sudo not required"
SUDO
=
""
else
SUDO
=
"sudo"
...
...
@@ -80,7 +83,7 @@ function install_yaffshiv
function
install_sasquatch
{
git clone
https://github.com/devttys0
/sasquatch
git clone
--quiet
--depth
1
--branch
"patch-1"
https://github.com/eacmen
/sasquatch
(
cd
sasquatch
&&
$SUDO
./build.sh
)
$SUDO
rm
-rf
sasquatch
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment