Ocena wątku:
  • 0 głosów - średnia: 0
  • 1
  • 2
  • 3
  • 4
  • 5
Icewind Dale Enhanced Edition GOG Linux problem z instalacją
#11
0
(04-04-2020, 16:28)dedito napisał(a): Pokaż większą część tego pliku:
head -n 100 iwd.sh
oraz pełną treść błędu sh: 0 can't open ....
Pamiętaj o znacznikach kodu.

Kod:
dradeel@dradeel:~/Pulpit$ head -n 100 iwd.sh
#!/bin/sh
#
# This is an executable installer
# and it has to be run like any other executable file:
#
# Add executable permissions with:
# chmod +x installer-file.sh
#
# Then run it like this:
# ./installer-file.sh
#
# This script was generated using Makeself 2.2.0
# with modifications for mojosetup and GOG.com installer.

umask 077

CRCsum="3342367143"
MD5="41e59e0ea552753ee38e00406745e550"
TMPROOT=${TMPDIR:=/tmp}

label="Icewind Dale: Enhanced Edition (GOG.com)"
script="./startmojo.sh"
scriptargs=""
licensetxt=""
targetdir="binaries"
filesizes="821419"
keep="n"
quiet="n"

# save off this scripts path so the installer can find it
export MAKESELF_SHAR="$( cd "$(dirname "$0")" && pwd)/$(basename "$0")"

print_cmd_arg=""
if type printf > /dev/null; then
    print_cmd="printf"
elif test -x /usr/ucb/echo; then
    print_cmd="/usr/ucb/echo"
else
    print_cmd="echo"
fi

unset CDPATH

MS_Printf()
{
    $print_cmd $print_cmd_arg "$1"
}

MS_PrintLicense()
{
  if test x"$licensetxt" != x; then
    echo $licensetxt
    while true
    do
      MS_Printf "Please type y to accept, n otherwise: "
      read yn
      if test x"$yn" = xn; then
        keep=n
eval $finish; exit 1       
        break;   
      elif test x"$yn" = xy; then
        break;
      fi
    done
  fi
}

MS_diskspace()
{
(
if test -d /usr/xpg4/bin; then
PATH=/usr/xpg4/bin:$PATH
fi
df -kP "$1" | tail -1 | awk '{ if ($4 ~ /%/) {print $3} else {print $4} }'
)
}

MS_dd()
{
    blocks=`expr $3 / 1024`
    bytes=`expr $3 % 1024`
    dd if="$1" ibs=$2 skip=1 obs=1024 conv=sync 2> /dev/null | \
    { test $blocks -gt 0 && dd ibs=1024 obs=1024 count=$blocks ; \
      test $bytes  -gt 0 && dd ibs=1 obs=1024 count=$bytes ; } 2> /dev/null
}

MS_dd_Progress()
{
    if test "$noprogress" = "y"; then
        MS_dd $@
        return $?
    fi
    file="$1"
    offset=$2
    length=$3
    pos=0
    bsize=4194304
    while test $bsize -gt $length; do
        bsize=`expr $bsize / 4`
    done

Dodano po pewnym czasie:
Kod:
/bin/sh: 0: Can't open ./iwd.sh
- i tylko tyle
#12
0
Zmień sobie pierwszą linijkę na #!/bin/bash i spróbuj ponownie.
#13
0
Nie działa w dalszym ciągu. Na drugim komputerze z Debianem 10 Buster instalator działa bez problemu jak i sama gra. Dowiedziałem się też że z nowszym Jądrem od 5x w górę nie współpracuje na Debianie jest 4.19 i działa poprawnie. Do zamknięcia dzięki za pomoc. Pozdrawiam


Skocz do:




Użytkownicy przeglądający ten wątek: 1 gości