remove old copr playbooks
This commit is contained in:
parent
9d70409210
commit
09137e6de0
39 changed files with 7 additions and 2094 deletions
|
@ -10,9 +10,13 @@ rpm -q $PACKAGE
|
|||
INSTALLED=$?
|
||||
|
||||
if [ $INSTALLED -eq 0 ]; then
|
||||
echo "Package $PACKAGE installed. Attempting restart of $SERVICE."
|
||||
/sbin/service $SERVICE restart
|
||||
exit $? # Exit with the /sbin/service status code
|
||||
if chkconfig $PACKAGE; then
|
||||
echo "Package $PACKAGE installed. Attempting restart of $SERVICE."
|
||||
/sbin/service $SERVICE restart
|
||||
exit $? # Exit with the /sbin/service status code
|
||||
else
|
||||
echo "Package $PACKAGE not enabled. Skipping restart of $SERVICE."
|
||||
fi
|
||||
fi
|
||||
|
||||
# If the package wasn't installed, then pretend everything is fine.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue