Skip to content
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
15 changes: 13 additions & 2 deletions Packaging/Sources/3_build_core.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
#!/bin/sh
#!/usr/bin/env bash

. ../environment.sh
. `dirname $0`/../environment.sh

#----------------------------------------
# Install package dependecies
#----------------------------------------
if [ ${OS_ID} = "debian" ] || [ ${OS_ID} = "ubuntu" ]; then
sudo apt-get install -q -y ${RUNTIME_RUN_DEPS} ${GNUSTEP_MAKE_DEPS} || exit 1
else
SPEC_FILE=${PROJECT_DIR}/Packaging/RedHat/SPECS/nextspace-core.spec
DEPS=`rpmspec -q --requires ${SPEC_FILE} | grep -v libobjc2 | grep -v libdispatch | grep -v nextspace-core | grep -v git | grep -v clang | awk -c '{print $1}'`
sudo yum -y install ${DEPS} || exit 1
fi

#----------------------------------------
# Install system configuration files
Expand Down
Loading