mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
Update make-cgit-pkgs-list.sh for namespacing
This commit is contained in:
@@ -7,8 +7,15 @@
|
||||
#
|
||||
newfile=`mktemp`
|
||||
|
||||
cd /srv/git/rpms
|
||||
ls > $newfile
|
||||
cd /srv/git/repositories/
|
||||
for d in `ls`; do
|
||||
if [ ! -L $d ]; then
|
||||
for f in `ls $d`; do
|
||||
echo $d/$f >> $newfile;
|
||||
done;
|
||||
fi;
|
||||
done;
|
||||
mv -Z $newfile /srv/git/pkgs-git-repos-list
|
||||
chown apache:apache /srv/git/pkgs-git-repos-list
|
||||
chmod 644 /srv/git/pkgs-git-repos-list
|
||||
|
||||
Reference in New Issue
Block a user