mirror of https://framagit.org/kyodev/kyopages.git
2.5.O
This commit is contained in:
parent
e59210c4ec
commit
8b469b93c2
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
version=2.4.3
|
version=2.5.0
|
||||||
date="17/07/2017"
|
date="17/07/2017"
|
||||||
projet="Kyodev"
|
projet="Kyodev"
|
||||||
contact="https://framagit.org/kyodev/kyopages/issues"
|
contact="https://framagit.org/kyodev/kyopages/issues"
|
||||||
|
@ -163,7 +163,7 @@ fscript_dl(){
|
||||||
mkdir -p "$dirTemp"
|
mkdir -p "$dirTemp"
|
||||||
wget -q --show-progress --tries=1 --timeout=15 --user-agent="$user_agent" -O "$dirTemp$script" "$urlScript"
|
wget -q --show-progress --tries=1 --timeout=15 --user-agent="$user_agent" -O "$dirTemp$script" "$urlScript"
|
||||||
if [ "$?" != "0" ]; then f__testWget "$urlScript"; fi
|
if [ "$?" != "0" ]; then f__testWget "$urlScript"; fi
|
||||||
chmod +x "$script"
|
chmod +x "$dirTemp$script"
|
||||||
if [ "$?" != "0" ]; then f__error "chmod sur: $script"; fi
|
if [ "$?" != "0" ]; then f__error "chmod sur: $script"; fi
|
||||||
cp -d "$dirTemp$script" /opt/bin/"$script"
|
cp -d "$dirTemp$script" /opt/bin/"$script"
|
||||||
rm "$dirTemp$script"
|
rm "$dirTemp$script"
|
||||||
|
|
Loading…
Reference in New Issue