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()
|
||||
{
|
||||
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
|
||||
fi
|
||||
}
|
||||
|
||||
dl_bins()
|
||||
|
||||
Reference in New Issue
Block a user