-
-
Notifications
You must be signed in to change notification settings - Fork 274
Installer Update #2
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
Conversation
Add gcc and build-essential for objdump installation Add aha installation for Report Manager
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please fix issue, which is addressed in the comment in the code. Thank you.
@@ -111,3 +113,20 @@ if ! [[ -f "external/objdump" ]] ; then | |||
else | |||
echo -e "$ORANGE""objdump is already downloaded and compiled""$NC" | |||
fi | |||
|
|||
# aha for html generation | |||
echo -e "\\n""$ORANGE""$BOLD""Downloading aha""$NC" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Your code won't work at my system. I tried it with some little changes, please fix it :)
# aha for html generation
echo -e "\\n""$ORANGE""$BOLD""Downloading aha""$NC"
if ! [[ -f "external/aha-master" ]] ; then
apt-get install make
apt-get install unzip
wget https://github.com/theZiz/aha/archive/master.zip -O external/aha-master.zip
unzip ./external/aha-master.zip -d ./external
cd ./external/aha-master || exit 1
echo -e "$ORANGE""$BOLD""Compile aha""$NC"
make
cd ../.. || exit 1
mv "external/aha-master/aha" "external/aha"
rm -R external/aha-master
else
echo -e "$ORANGE""aha is already downloaded and compiled""$NC"
fi
I don't know, if aha
needs stuff from the zip archive. I deleted the unzipped archive to keep the external directory clean. If it won't work, change it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, the changes are fine.
Furthermore I have added rm ./external/aha-master.zip to remove the zip file. Now everything should be clean.
Add gcc and build-essential for objdump installation
Add aha installation for Report Manager