Parce que «Ça peut toujours servir»™ et que de toutes façons il y en a déjà des bouts qui sont dans le dépôt et que c'est chiant de git add -f.
Et puis bon, ça fait que 3Mo
This commit is contained in:
parent
29f50c2ed9
commit
3bde363deb
299 changed files with 17466 additions and 0 deletions
19
archive/archives/cvsweb/update.sh
Executable file
19
archive/archives/cvsweb/update.sh
Executable file
|
@ -0,0 +1,19 @@
|
|||
#!/bin/sh
|
||||
# Mise à jour de l'arborescence du site web
|
||||
# Execute toutes les minutes (par root).
|
||||
|
||||
OQP=/var/lock/cvsweb
|
||||
CHEMIN=/var/local/cvsweb
|
||||
REPOSITORY=/home/httpd/CVS-Repository/
|
||||
|
||||
if [ $CHEMIN/commit.todo -nt $CHEMIN/commit.ok ]; then
|
||||
if ! [[ -f $OQP ]]; then
|
||||
chown -R www-data:webcvs $REPOSITORY
|
||||
chmod -R o-rwx $REPOSITORY
|
||||
touch $OQP
|
||||
cd /home/httpd/web
|
||||
su www-data -c "/usr/bin/cvs -d $REPOSITORY update -P -d" >/dev/null 2>&1
|
||||
test -s $OQP || rm -f $OQP
|
||||
su www-data -c "touch $CHEMIN/commit.ok"
|
||||
fi
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue