script for install epel repo
#!/bin/bash
if test -e /etc/yum.repos.d/epel.repo
then
echo ok
else
yum install epel-release -y
fi
[root@localhost ~]#
Žiadne komentáre:
Zverejnenie komentára