30155ba17b
Without chown, normal user cannot remove it (in next prepare-repo-template). Also fix prepare-repo-template to clean only current repo, not all of them.
11 lines
267 B
Bash
Executable File
11 lines
267 B
Bash
Executable File
#!/bin/sh
|
|
|
|
pushd $SCRIPTSDIR
|
|
rm -f keys base_rpms
|
|
ln -sf keys_$DIST keys
|
|
ln -sf base_rpms_$DIST base_rpms
|
|
popd
|
|
|
|
createrepo -q -g $PWD/comps-qubes-template.xml yum_repo_qubes/$DIST -o yum_repo_qubes/$DIST
|
|
chown -R --reference=yum_repo_qubes/$DIST yum_repo_qubes/$DIST
|