Browse Source

fix(bt): add convertion of the startscript to LF (#4008)

Co-authored-by: Daniel Gibbs <[email protected]>
pull/4019/head
Christian 2 years ago
committed by GitHub
parent
commit
8dc7861c63
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      lgsm/data/almalinux-8.csv
  2. 2
      lgsm/data/centos-7.csv
  3. 2
      lgsm/data/centos-8.csv
  4. 2
      lgsm/data/debian-10.csv
  5. 2
      lgsm/data/debian-11.csv
  6. 2
      lgsm/data/debian-9.csv
  7. 2
      lgsm/data/rocky-8.csv
  8. 2
      lgsm/data/ubuntu-16.04.csv
  9. 2
      lgsm/data/ubuntu-18.04.csv
  10. 2
      lgsm/data/ubuntu-20.04.csv
  11. 2
      lgsm/data/ubuntu-21.04.csv
  12. 2
      lgsm/data/ubuntu-22.04.csv
  13. 8
      lgsm/functions/fix_bt.sh

2
lgsm/data/almalinux-8.csv

@ -15,7 +15,7 @@ bfv,compat-libstdc++-33.i686,glibc.i686
bmdm,ncurses-libs.i686
bo
bs
bt,libicu
bt,libicu,dos2unix
bt1944
cc
cd

Can't render this file because it has a wrong number of fields in line 2.

2
lgsm/data/centos-7.csv

@ -15,7 +15,7 @@ bfv,compat-libstdc++-33.i686,glibc.i686
bmdm,ncurses-libs.i686
bo
bs
bt,libicu
bt,libicu,dos2unix
bt1944
cc
cd

Can't render this file because it has a wrong number of fields in line 2.

2
lgsm/data/centos-8.csv

@ -15,7 +15,7 @@ bfv,compat-libstdc++-33.i686,glibc.i686
bmdm,ncurses-libs.i686
bo
bs
bt,libicu
bt,libicu,dos2unix
bt1944
cc
cd

Can't render this file because it has a wrong number of fields in line 2.

2
lgsm/data/debian-10.csv

@ -15,7 +15,7 @@ bfv,libncurses5:i386,libstdc++5:i386
bmdm,libncurses5:i386
bo
bs
bt,libicu-dev
bt,libicu-dev,dos2unix
bt1944
cc
cd

Can't render this file because it has a wrong number of fields in line 2.

2
lgsm/data/debian-11.csv

@ -15,7 +15,7 @@ bfv,libncurses5:i386,libstdc++5:i386
bmdm,libncurses5:i386
bo
bs
bt,libicu-dev
bt,libicu-dev,dos2unix
bt1944
cc
cd

Can't render this file because it has a wrong number of fields in line 2.

2
lgsm/data/debian-9.csv

@ -15,7 +15,7 @@ bfv,libncurses5:i386,libstdc++5:i386
bmdm,libncurses5:i386
bo
bs
bt,libicu-dev
bt,libicu-dev,dos2unix
bt1944
cc
cd

Can't render this file because it has a wrong number of fields in line 2.

2
lgsm/data/rocky-8.csv

@ -15,7 +15,7 @@ bfv,compat-libstdc++-33.i686,glibc.i686
bmdm,ncurses-libs.i686
bo
bs
bt,libicu
bt,libicu,dos2unix
bt1944
cc
cd

Can't render this file because it has a wrong number of fields in line 2.

2
lgsm/data/ubuntu-16.04.csv

@ -14,7 +14,7 @@ bfv,libncurses5:i386,libstdc++5:i386
bmdm,libncurses5:i386
bo
bs
bt,libicu-dev
bt,libicu-dev,dos2unix
bt1944
cc
cd

Can't render this file because it has a wrong number of fields in line 2.

2
lgsm/data/ubuntu-18.04.csv

@ -15,7 +15,7 @@ bfv,libncurses5:i386,libstdc++5:i386
bmdm,libncurses5:i386
bo
bs
bt,libicu-dev
bt,libicu-dev,dos2unix
bt1944
cc
cd

Can't render this file because it has a wrong number of fields in line 2.

2
lgsm/data/ubuntu-20.04.csv

@ -15,7 +15,7 @@ bfv,libncurses5:i386,libstdc++5:i386
bmdm,libncurses5:i386
bo
bs
bt,libicu-dev
bt,libicu-dev,dos2unix
bt1944
cc
cd

Can't render this file because it has a wrong number of fields in line 2.

2
lgsm/data/ubuntu-21.04.csv

@ -15,7 +15,7 @@ bfv,libncurses5:i386,libstdc++5:i386
bmdm,libncurses5:i386
bo
bs
bt,libicu-dev
bt,libicu-dev,dos2unix
bt1944
cc
cd

Can't render this file because it has a wrong number of fields in line 2.

2
lgsm/data/ubuntu-22.04.csv

@ -15,7 +15,7 @@ bfv,libncurses5:i386,libstdc++5:i386
bmdm,libncurses5:i386
bo
bs
bt,libicu-dev
bt,libicu-dev,dos2unix
bt1944
cc
cmw

Can't render this file because it has a wrong number of fields in line 2.

8
lgsm/functions/fix_bt.sh

@ -14,3 +14,11 @@ if [ ! -d "${XDG_DATA_HOME:="${HOME}/.local/share"}/Daedalic Entertainment GmbH/
mkdir -p "${XDG_DATA_HOME:="${HOME}/.local/share"}/Daedalic Entertainment GmbH/Barotrauma"
fn_fix_msg_end
fi
# check if startscript is with windows line endings and reformat it
if file -b "${serverfiles}${executable:1}" | grep -q CRLF; then
fixname="Convert ${executable:2} to unix file format"
fn_fix_msg_start
dos2unix -q "${serverfiles}${executable:1}"
fn_fix_msg_end
fi

Loading…
Cancel
Save