Release 22.05 #155

Merged
jlecour merged 81 commits from unstable into stable 2022-05-10 17:01:18 +02:00
2 changed files with 7 additions and 0 deletions
Showing only changes of commit 726735d269 - Show all commits

View file

@ -34,6 +34,7 @@ The **patch** part changes is incremented if multiple releases happen the same m
* generate-ldif: Correct generated entries for php-fpm in containers
* redis: Remount /usr with RW before adding nagios plugin
* postfix: Do not send mails through milters a second time after amavis (in packmail)
* etc-git : Remount /usr in rw for git gc in in /usr/share/scripts/
### Removed

View file

@ -6,6 +6,12 @@ repositories="/etc /etc/bind/ /usr/share/scripts"
for repository in ${repositories}; do
if [ -d "${repository}/.git" ]; then
if [ ${repository} = "/usr/share/scripts" ]; then
mount -o remount,rw /usr
fi
git --git-dir="${repository}/.git" gc --quiet
if [ ${repository} = "/usr/share/scripts" ]; then
mount -o remount /usr
fi
fi
done