You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
289 B
16 lines
289 B
12 months ago
|
#!/bin/sh
|
||
|
# Author: Athmane Madjoudj <athmanem@gmail.com>
|
||
|
|
||
|
t_Log "Running $0 - rpm remove package test."
|
||
|
|
||
|
# Install zsh pkg
|
||
|
t_InstallPackage zsh
|
||
|
|
||
|
rpm -e zsh && \
|
||
|
rpm -q zsh | grep -q 'package zsh is not installed'
|
||
|
|
||
|
t_CheckExitStatus $?
|
||
|
|
||
|
t_Log "Clean yum metadata / cache"
|
||
|
yum -y clean all
|