diff --git a/scripts/getFlashPlayer b/scripts/getFlashPlayer index 363ce38..ed5ac05 100755 --- a/scripts/getFlashPlayer +++ b/scripts/getFlashPlayer @@ -1,6 +1,6 @@ #!/bin/bash -version=2.4.3 +version=2.5.0 date="17/07/2017" projet="Kyodev" contact="https://framagit.org/kyodev/kyopages/issues" @@ -163,7 +163,7 @@ fscript_dl(){ mkdir -p "$dirTemp" wget -q --show-progress --tries=1 --timeout=15 --user-agent="$user_agent" -O "$dirTemp$script" "$urlScript" if [ "$?" != "0" ]; then f__testWget "$urlScript"; fi - chmod +x "$script" + chmod +x "$dirTemp$script" if [ "$?" != "0" ]; then f__error "chmod sur: $script"; fi cp -d "$dirTemp$script" /opt/bin/"$script" rm "$dirTemp$script"