Overview
Comment:Add upgrade
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 3f8200ff16da01217070afc6b881c0a8a7958a186d74fd53d7368b19504969c2
User & Date: bohwaz on 2022-04-05 01:50:18
Other Links: manifest | tags
Context
2022-04-05
01:58
Add executable check-in: 2bd1a7520c user: bohwaz tags: trunk
01:50
Add upgrade check-in: 3f8200ff16 user: bohwaz tags: trunk
01:47
Use nice defaults: no need to change the script check-in: a610821c12 user: bohwaz tags: trunk
Changes

Added tools/factory/factory_upgrade.sh version [1fb3422189].





























>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

# Répertoire où sont stockées les données des utilisateurs
# veiller à ce que ce soit le même que dans config.local.php
FACTORY_USER_DIRECTORY="users"

# Chemin vers le script upgrade.php de Garradin
GARRADIN_UPGRADE_SCRIPT="scripts/cron.php"

for user in $(cd ${FACTORY_USER_DIRECTORY} && ls -1d */)
do
	GARRADIN_FACTORY_USER=$(basename "$user")
	php $GARRADIN_UPGRADE_SCRIPT
done