Skip to content

Commit

Permalink
Added Debian/Ubuntu to distro_fixes.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Scott Carter committed Oct 9, 2018
1 parent 36b2a36 commit 7412b87
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pack/df_linux/distro_fixes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,13 @@ elif [ x"$DF_ARCH" = x'64-bit' ] && [ x"$ARCH" = x'x86_64' ]; then
else
dlog WARN "Could not find /usr/lib64/libstdc++.so.6"
fi
elif [ x"$OS" = x'debian' ] || [ x"$OS" = x'ubuntu' ] || [ x"$OS" = x'kubuntu' ] || [ x"$OS" = x'lubuntu' ] || [ x"$OS" = x'xubuntu' ]; then
find_zlib /lib/x86_64-linux-gnu/libz.so.1 /lib/x86_64-linux-gnu
if [ -e "/usr/lib/x86_64-linux-gnu/libstdc++.so.6" ]; then
export PRELOAD_LIB="${PRELOAD_LIB:+$PRELOAD_LIB:}/usr/lib/x86_64-linux-gnu/libstdc++.so.6"
else
dlog WARN "Could not find /usr/lib/x86_64-linux-gnu/libstdc++.so.6"
fi
else
dlog "WARN" "64bit 'Dwarf_Fortress' on unhandled 64bit OS detected. If you get 'missing file' errors, please open an issue on Github: https://github.com/Lazy-Newb-Pack/Lazy-Newb-Pack-Linux/issues."
find_zlib
Expand Down

0 comments on commit 7412b87

Please sign in to comment.