Skip to content
Snippets Groups Projects
Commit 3e6307dd authored by dpuzyrkov's avatar dpuzyrkov
Browse files

[+] libz-dev dep added, debug echo added.

parent 55185bc2
No related branches found
No related tags found
No related merge requests found
PKG_DEPS="libjson-c-dev libsqlite3-dev libmagic-dev libcurl4-gnutls-dev traceroute libpq-dev libzip-dev zlib1g-dev" PKG_DEPS="libjson-c-dev libsqlite3-dev libmagic-dev libcurl4-gnutls-dev traceroute libpq-dev libzip-dev libz-dev zlib1g-dev"
...@@ -6,7 +6,11 @@ ...@@ -6,7 +6,11 @@
check_packages() { check_packages() {
IFS=" " IFS=" "
echo "[DBG] PKG_DEPS: $PKG_DEPS"
local PKG_DEPPIES=$(echo $PKG_DEPS | sed 's/\"//g') local PKG_DEPPIES=$(echo $PKG_DEPS | sed 's/\"//g')
echo "[DBG] PKG_DEPS: $PKG_DEPPIES"
for element in "$PKG_DEPPIES"; do for element in "$PKG_DEPPIES"; do
echo "[DEBUGGA] Checking if $element is installed" echo "[DEBUGGA] Checking if $element is installed"
if ! dpkg-query -s $element; then if ! dpkg-query -s $element; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment