Skip to content
Snippets Groups Projects
Commit 973ae8b8 authored by Jan-Tarek Butt's avatar Jan-Tarek Butt
Browse files

add OS check before dependency check

parent 4aedd587
No related branches found
No related tags found
No related merge requests found
......@@ -7,6 +7,7 @@ GLUON_BRANCH="$1"
GLUON_VERSION="$2"
#check installed debendenciece
if [ -f /etc/debian_version ]; then
echo "Checking for git..."
if ! command -v git 2&> /dev/null; then
echo "git is not installed"
......@@ -61,7 +62,7 @@ if ! dpkg -s libssl-dev > /dev/null; then
exit 1
fi
echo "Detected libssl-dev..."
fi
# Make Folder site
mkdir site
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment