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:
2026-10-29 14:59:00 -04:00
co-authored by Claude Opus 5.5
parent caaa92756f
commit 8e6ea3ad38
+2 -5
View File
@@ -2,12 +2,9 @@
chk_deps()
{
if [ ! -f /usr/bin/tux ] || [ ! -f /usr/bin/sudo ];then
echo "Please install: tuxc & sudo, one of them was not found"
if ! command -v java >/dev/null 2>&1 || ! command -v wget >/dev/null 2>&1;then
echo "Please install: java & wget, one of them was not found"
exit 1
sudo tux i openjdk-8-jre wget
fi
}