do not include cgit_pkg_list into the package

This commit is contained in:
clime 2017-03-03 10:14:00 +01:00
parent 45296ae2e6
commit ee0962dde7
2 changed files with 0 additions and 25 deletions

View file

@ -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

View file

@ -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)