3f62a7a594
Resolves: rhbz#1966701 Signed-off-by: Mark Simmons msimmons@redhat.com
22 lines
406 B
Bash
22 lines
406 B
Bash
#!/usr/bin/bash
|
|
|
|
# This will get uncommented once we have the rpm
|
|
# make sure we have stalld installed
|
|
if rpm -q --quiet stalld; then
|
|
:
|
|
else
|
|
sudo dnf install -y stalld
|
|
if [[ $? != 0 ]]; then
|
|
echo "install of stalld failed!"
|
|
exit 1
|
|
fi
|
|
fi
|
|
|
|
STALLD="/usr/bin/stalld"
|
|
|
|
# See if stalld is installed and executable
|
|
$STALLD --help 2>> /dev/null
|
|
if [[ $? != 0 ]]; then
|
|
exit 2
|
|
fi
|