mirror of
https://github.com/release-engineering/dist-git.git
synced 2025-02-23 23:12:55 +00:00
do not include cgit_pkg_list into the package
This commit is contained in:
parent
45296ae2e6
commit
ee0962dde7
2 changed files with 0 additions and 25 deletions
|
@ -1,24 +0,0 @@
|
|||
#!/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.
|
||||
#
|
||||
|
||||
eval "$(crudini --format=sh --get /etc/dist-git/dist-git.conf dist-git)"
|
||||
destination=$gitroot_dir/pkgs-git-repos-list
|
||||
|
||||
if [ -n "$1" ]
|
||||
then
|
||||
destination=$1
|
||||
fi
|
||||
|
||||
newfile=`mktemp`
|
||||
|
||||
cd $gitroot_dir/repositories
|
||||
ls > $newfile
|
||||
cp -fZ $newfile $destination
|
||||
rm $newfile
|
||||
#chown apache:apache $destination
|
||||
chmod 644 $destination
|
|
@ -1,4 +1,3 @@
|
|||
/var/lib/dist-git/git(/.*)? gen_context(system_u:object_r:git_user_content_t,s0)
|
||||
/var/lib/dist-git/git/pkgs-git-repos-list gen_context(system_u:object_r:git_content_t,s0)
|
||||
/var/lib/dist-git/cache(/.*)? gen_context(system_u:object_r:git_rw_content_t,s0)
|
||||
/var/lib/dist-git/web/upload.cgi gen_context(system_u:object_r:git_script_exec_t,s0)
|
||||
|
|
Loading…
Add table
Reference in a new issue