y a une erreur dans le script, c'est pas un problème de droit ... mais je ne connais pas assez les syntaxes cvs ...
j'ai ajouté quelques quotes mais j'ai une autre erreur
Getting helper script ... please wait
./cvswinex.sh: line 103: a: Aucun fichier ou répertoire de ce type
chmod: ne peut accéder `GetWineX': Aucun fichier ou répertoire de ce type
./cvswinex.sh: line 107: ./GetWineX: Aucun fichier ou répertoire de ce type
le wget me semble bizarre ???
#!/bin/bash
export LauncherVer="3.30"
# Configuration
#########################################################
# Vars
export CompileRootDir="$HOME/temp/cvswinex"
export ErrorLogFile=""
export ConfigurePrefix="/usr/lib/cvswinex"
export ConfigureOptions="--enable-opengl --with-x --enable-pthreads"
export AlwaysRecompile="1"
export ScriptName="cvswinex"
export ConfigDirName=".cvswinex"
export GetWineXLicense="<a"
href=""
http://www.transgaming.com/license.php?source=1""
target=""_blank">
http://www.transgaming.com/license.php?source=1"</a>"
export StripBinaries="0" # change to 1 to strip binaries. Disables debugging tho
export PackSource="1"
export CVSPasswordGuess="cvs"
export CVSCheckOutDir="winex"
export OldCVSCheckOutDir="wine"
export CVSoptions="-d :pserver:
cvs@cvs.transgaming.org:/cvsroot -z 3 co"
#export DisableCVSrootCheck="1" # use if CVSoptions CVSroot has a space in it
export WineExecName="wine"
export ShowTips="1"
#User install
#export UserOnlyInstall="1"
# Helperscript stuff ... do not edit
#########################################################
#
if test "$1" = "proxy"
then
echo "Enter proxy (eg: proxy.pandora.be:8080):"
read http_proxy
echo "$http_proxy" > $HOME/.GetWineXproxy && echo "info stored ..."
exit
fi
http_proxy=`cat $HOME/.GetWineXproxy 2>/dev/null`
test -n "$http_proxy" && export http_proxy
Upgrade="0"
if test "$1" = "upgrade"
then
echo "Upgrading Helper script ..."
Upgrade="1"
shift
fi
export GetWineXName=`basename $0`
function CheckOK ()
{
if test "$Upgrade" = "1"
then
if ! rm -f "$GetWineXFile"
then
echo -e "Could not remove $GetWineXFilenAborting..."
exit
fi
elif test -e "$GetWineXFile"
then
Test=`tail -n 2 "$GetWineXFile"|grep "#end"`
if test -z "$Test"
then
echo "Helperscript incomplete, getting new"
if ! rm -f "$GetWineXFile"
then
echo -e "Could not remove $GetWineXFilenAborting..."
exit
fi
fi
fi
}
GetWineXFile=`which GetWineX 2>/dev/null` ;CheckOK
if test -e "$GetWineXFile"
then
GetWineX $@
exit
fi
GetWineXFile="$HOME/bin/GetWineX" ;CheckOK
if test -e $HOME/bin/GetWineX
then
$HOME/bin/GetWineX $@
exit
fi
GetWineXFile="./GetWineX" ;CheckOK
if test -e ./GetWineX
then
./GetWineX $@
else
mkdir $HOME/bin/ >/dev/null 2>&1
cd $HOME/bin/
echo -e "nnGetting helper script ... please waitn"
if wget <a href="
http://ting.homeunix.org/GetWineX"
target=""_blank">
http://ting.homeunix.org/GetWineX</a>"
then
chmod +x GetWineX
./GetWineX $@
else
echo -e "nnCouldn't download .. Try again, and/or contact ElmerFudd"
echo "For manual download:"
echo " Goto <a href="
http://ting.homeunix.org/cvs_wine/changelog.html""
target=""_blank">
http://ting.homeunix.org/cvs_wine/changelog.html"</a>"
echo " Download GetWineX, using the link around the top"
echo -e " Put it in <home>/bin/ and chmod +xn"
echo -e "FEATURE:"
echo -e " If you are behind a proxy, try this:"
echo -e " $GetWineXName proxy"
echo -e " after proxy info is entered, just run again as normal.n"
rm -f GetWineX
fi
fi