Skip to content
This repository has been archived by the owner on Oct 25, 2019. It is now read-only.

Commit

Permalink
Correction sur casse variable $PROXY
Browse files Browse the repository at this point in the history
  • Loading branch information
mollef committed Feb 26, 2016
1 parent a375f15 commit bbd4831
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/DEBIAN/postinst
Original file line number Diff line number Diff line change
Expand Up @@ -327,14 +327,14 @@ case "$1" in
cp -r "$f" "$REPERTOIRE_DISTRIBS/$nom_de_code/skel"
if [ -e "$PREFJS" ]; then
afficher "Mise en place du proxy pour la distribution $nom_de_code."
echo "$proxy" >> "$PREFJS"
echo "$PROXY" >> "$PREFJS"
fi
else
if [ -e "$PREFJS" ]; then
PROXY_COURANT=$(grep proxy "$PREFJS"|| true)
if [ "$PROXY_COURANT" != "$PROXY" ]; then
afficher "Modification du proxy pour la distribution $nom_de_code."
echo "$proxy" >> "$REPERTOIRE_DISTRIBS/$nom_de_code/skel/.mozilla/firefox/default/prefs.js"
echo "$PROXY" >> "$REPERTOIRE_DISTRIBS/$nom_de_code/skel/.mozilla/firefox/default/prefs.js"
echo "mise à jour pour modification du proxy" >> "$fichier_version"
fi

Expand Down

0 comments on commit bbd4831

Please sign in to comment.