1
|
--- modif_10-eole/10-posh - org Thu Apr 18 16:45:46 2013
|
2
|
+++ modif_10-eole/10-posh Mon Apr 29 13:37:30 2013
|
3
|
@@ -51,7 +51,7 @@
|
4
|
fi
|
5
|
|
6
|
# Mise en place de la configuration (génération des fichiers) NB : le prereconf place un fichier minimal
|
7
|
- wget "https://${IP_SERVEUR_WEB}${alias_envole}/api/scr_config_generate_configfiles.php?adminkey=$POSHKEY" -o/tmp/posh/scr_config_generate_configfiles.php.log -O/tmp/posh/scr_config_generate_configfiles.php.txt --no-check-certificate
|
8
|
+ wget "https://${IP_SERVEUR_WEB}${alias_envole}/api/scr_config_generate_configfiles.php?adminkey=$POSHKEY" -o/tmp/posh/scr_config_generate_configfiles.php.log -O/tmp/posh/scr_config_generate_configfiles.php.txt --no-check-certificate --no-proxy
|
9
|
WGET_FILE=$(cat /tmp/posh/scr_config_generate_configfiles.php.txt)
|
10
|
if [ "$WGET_FILE" != "<?xml version=\"1.0\" encoding=\"UTF-8\"?><phpscript><status>1</status></phpscript>" ]
|
11
|
then
|
12
|
@@ -61,7 +61,7 @@
|
13
|
fi
|
14
|
|
15
|
# Mise en place des plugins
|
16
|
- wget "https://${IP_SERVEUR_WEB}${alias_envole}/api/scr_config_plugins.php?adminkey=$POSHKEY" -o/tmp/posh/scr_config_plugins.php.log -O/tmp/posh/scr_config_plugins.php.txt --no-check-certificate
|
17
|
+ wget "https://${IP_SERVEUR_WEB}${alias_envole}/api/scr_config_plugins.php?adminkey=$POSHKEY" -o/tmp/posh/scr_config_plugins.php.log -O/tmp/posh/scr_config_plugins.php.txt --no-check-certificate --no-proxy
|
18
|
WGET_FILE=$(cat /tmp/posh/scr_config_plugins.php.txt)
|
19
|
if [ "$WGET_FILE" != "<?xml version=\"1.0\" encoding=\"UTF-8\"?><plugins><status>1</status></plugins>" ]
|
20
|
then
|
21
|
@@ -71,7 +71,7 @@
|
22
|
fi
|
23
|
|
24
|
# Rafraichissement du cache
|
25
|
- wget "https://${IP_SERVEUR_WEB}${alias_envole}/api/scr_cache_generate_all.php?adminkey=$POSHKEY" -o/tmp/posh/scr_cache_generate_all.php.log -O/tmp/posh/scr_cache_generate_all.php.txt --no-check-certificate
|
26
|
+ wget "https://${IP_SERVEUR_WEB}${alias_envole}/api/scr_cache_generate_all.php?adminkey=$POSHKEY" -o/tmp/posh/scr_cache_generate_all.php.log -O/tmp/posh/scr_cache_generate_all.php.txt --no-check-certificate --no-proxy
|
27
|
WGET_FILE=$(cat /tmp/posh/scr_cache_generate_all.php.txt)
|
28
|
if [ "$WGET_FILE" != "<?xml version=\"1.0\" encoding=\"UTF-8\"?><phpscript><status>1</status></phpscript>" ]
|
29
|
then
|
30
|
@@ -81,7 +81,7 @@
|
31
|
# Mise en place du thème eole (si nécessaire)
|
32
|
if [ ! -s $container_path_web/var/www/html/posh/styles/main1.css ]
|
33
|
then
|
34
|
- wget --post-data 'theme0=eole' "https://${IP_SERVEUR_WEB}${alias_envole}/api/scr_config_theme.php?adminkey=$POSHKEY" -o/tmp/posh/scr_config_theme.php.log -O/tmp/posh/scr_config_theme.php.txt --no-check-certificate
|
35
|
+ wget --post-data 'theme0=eole' "https://${IP_SERVEUR_WEB}${alias_envole}/api/scr_config_theme.php?adminkey=$POSHKEY" -o/tmp/posh/scr_config_theme.php.log -O/tmp/posh/scr_config_theme.php.txt --no-check-certificate --no-proxy
|
36
|
WGET_FILE=$(cat /tmp/posh/scr_config_theme.php.txt)
|
37
|
if [ "$WGET_FILE" != "<?xml version=\"1.0\" encoding=\"UTF-8\"?><theme><status>1</status></theme>" ]
|
38
|
then
|