trimrepo.sh: check for java and wget instead of tux
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
+3
-6
@@ -2,13 +2,10 @@
|
|||||||
|
|
||||||
chk_deps()
|
chk_deps()
|
||||||
{
|
{
|
||||||
if [ ! -f /usr/bin/tux ] || [ ! -f /usr/bin/sudo ];then
|
if ! command -v java >/dev/null 2>&1 || ! command -v wget >/dev/null 2>&1;then
|
||||||
echo "Please install: tuxc & sudo, one of them was not found"
|
echo "Please install: java & wget, one of them was not found"
|
||||||
exit 1
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
sudo tux i openjdk-8-jre wget
|
|
||||||
fi
|
|
||||||
}
|
}
|
||||||
|
|
||||||
dl_bins()
|
dl_bins()
|
||||||
|
|||||||
Reference in New Issue
Block a user