Skip to content

Commit

Permalink
Merge pull request #50 from Pack3tL0ss/dev (libffi-dev)
Browse files Browse the repository at this point in the history
Add libffi-dev install to pre-git needed by newest raspbian
  • Loading branch information
Pack3tL0ss committed Feb 8, 2020
2 parents e95f24c + a321729 commit dfe3664
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions installer/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,14 @@ pre_git_prep() {
logit "Removed old consolepi-menu quick-launch file will replace during upgade" ||
logit "ERROR Unable to remove old consolepi-menu quick-launch file" "WARNING"
fi
else
# 02-05-2020 raspbian buster could not pip install requirements -sido would error with no libffi
process="ConsolePi-Upgrade-Prep (install libffi-dev)"
if ! dpkg -l libffi-dev >/dev/null 1>&2 ; then
apt install -y libffi-dev >/dev/null 2>>${log_file} &&
logit "Success Installing development files for libffi" ||
logit "ERROR apt install libffi-dev retrurned an error" "WARNING"
fi
fi

process="ConsolePi-Upgrade-Prep (create consolepi group)"
Expand Down

0 comments on commit dfe3664

Please sign in to comment.