mirror of
https://github.com/release-engineering/dist-git.git
synced 2025-02-24 07:22:54 +00:00
15 lines
359 B
Bash
15 lines
359 B
Bash
![]() |
#!/bin/sh
|
||
|
|
||
|
#
|
||
|
# This simple script lists out the current pkgs git repos to a file.
|
||
|
# This speeds up cgit as it doesn't have to recurse into all dirs
|
||
|
# Looking for git repos.
|
||
|
#
|
||
|
newfile=`mktemp`
|
||
|
|
||
|
cd /srv/git/rpms
|
||
|
ls > $newfile
|
||
|
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
|