Skip to content

Commit e165be2

Browse files
gunnarmorlingmarc0der
authored andcommitted
#1267 Verifying tar command is available
1 parent a36e3e0 commit e165be2

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

app/views/includes/sanity.scala.txt

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,18 @@ if ! command -v zip > /dev/null; then
4343
exit 1
4444
fi
4545

46+
echo "Looking for tar..."
47+
if ! command -v tar > /dev/null; then
48+
echo "Not found."
49+
echo "======================================================================================================"
50+
echo " Please install tar on your system using your favourite package manager."
51+
echo ""
52+
echo " Restart after installing tar."
53+
echo "======================================================================================================"
54+
echo ""
55+
exit 1
56+
fi
57+
4658
echo "Looking for curl..."
4759
if ! command -v curl > /dev/null; then
4860
echo "Not found."
@@ -84,4 +96,4 @@ else
8496
echo ""
8597
exit 1
8698
fi
87-
fi
99+
fi

0 commit comments

Comments
 (0)