gen-yum: restore SELinux contexts
This commit is contained in:
parent
ca36215360
commit
389565b929
1 changed files with 1 additions and 0 deletions
1
gen-yum
1
gen-yum
|
@ -7,6 +7,7 @@ eval BASE_DIRS=~/www_static/dnf.bl0rg.net/*/*
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
for base_dir in $BASE_DIRS; do
|
for base_dir in $BASE_DIRS; do
|
||||||
|
restorecon -Rv $base_dir
|
||||||
for YUM in $base_dir/{SRPMS,i386,x86_64}; do
|
for YUM in $base_dir/{SRPMS,i386,x86_64}; do
|
||||||
if [ -d $YUM ]; then
|
if [ -d $YUM ]; then
|
||||||
echo "== $YUM"
|
echo "== $YUM"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue