Browse Source

disablerepo

pull/12/head
root 3 years ago
parent
commit
be79c21947
  1. 3
      files/disablerepo.sh

3
files/disablerepo.sh

@ -0,0 +1,3 @@ @@ -0,0 +1,3 @@
#!/bin/bash
sed -i 's/enabled=1/enabled=0/g' /etc/yum.repos.d/ CentOS*
sed -i '/name=/a enabled=0' /etc/yum.repos.d/CentOS*
Loading…
Cancel
Save