2021-06-01 15:02:19 +00:00
|
|
|
#!/usr/bin/bash
|
|
|
|
|
|
|
|
# make sure we have tuna installed
|
|
|
|
if rpm -q --quiet tuna; then
|
|
|
|
:
|
|
|
|
else
|
|
|
|
sudo dnf install -y tuna
|
|
|
|
if [[ $? != 0 ]]; then
|
|
|
|
echo "install of tuna failed!"
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
# simple tests
|
|
|
|
tuna --help || exit 2
|
|
|
|
tuna --version || exit 3
|
2022-11-09 18:33:18 +00:00
|
|
|
tuna show_threads || exit 4
|
2021-06-01 15:02:19 +00:00
|
|
|
|
|
|
|
exit 0
|