Skip to content

Commit

Permalink
#1267 Verifying tar command is available
Browse files Browse the repository at this point in the history
  • Loading branch information
gunnarmorling authored and marc0der committed Jan 10, 2024
1 parent a36e3e0 commit e165be2
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion app/views/includes/sanity.scala.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,18 @@ if ! command -v zip > /dev/null; then
exit 1
fi

echo "Looking for tar..."
if ! command -v tar > /dev/null; then
echo "Not found."
echo "======================================================================================================"
echo " Please install tar on your system using your favourite package manager."
echo ""
echo " Restart after installing tar."
echo "======================================================================================================"
echo ""
exit 1
fi

echo "Looking for curl..."
if ! command -v curl > /dev/null; then
echo "Not found."
Expand Down Expand Up @@ -84,4 +96,4 @@ else
echo ""
exit 1
fi
fi
fi

0 comments on commit e165be2

Please sign in to comment.