Update make-cgit-pkgs-list.sh for namespacing
This commit is contained in:
parent
35a5609552
commit
617beaac5f
1 changed files with 8 additions and 1 deletions
|
@ -7,8 +7,15 @@
|
||||||
#
|
#
|
||||||
newfile=`mktemp`
|
newfile=`mktemp`
|
||||||
|
|
||||||
cd /srv/git/rpms
|
|
||||||
ls > $newfile
|
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
|
mv -Z $newfile /srv/git/pkgs-git-repos-list
|
||||||
chown apache:apache /srv/git/pkgs-git-repos-list
|
chown apache:apache /srv/git/pkgs-git-repos-list
|
||||||
chmod 644 /srv/git/pkgs-git-repos-list
|
chmod 644 /srv/git/pkgs-git-repos-list
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue