Cloud-RF/tak-server

System agnostic logo replacement script

Closed this issue · 1 comments

The logo-replacement.sh script installs openjdk-11-jdk and imagemagick natively on the host if they don't exist.

jar 2>/dev/null
if [ $? -ne 0 ];
then
sudo apt-get install openjdk-11-jdk -y
fi
convert >/dev/null
if [ $? -ne 0 ];
then
sudo apt-get install imagemagick -y
fi

A better solution would be to have a Docker container to handle the replacement. This would make the script completely independent of the host operating system.

Meh. Too much effort for a pic of a banana.