mirror of
https://github.com/GAM-team/GAM.git
synced 2026-07-03 12:21:35 +00:00
deprecate whatsnew.txt, handle multiple GAM glibc versions
This commit is contained in:
@@ -26,7 +26,7 @@ upgrade_only=false
|
|||||||
gamversion="latest"
|
gamversion="latest"
|
||||||
adminuser=""
|
adminuser=""
|
||||||
regularuser=""
|
regularuser=""
|
||||||
gam_glibc_ver="2.19" # Ubuntu 14.04 Trusty
|
gam_glibc_vers="2.23 2.19 2.15"
|
||||||
|
|
||||||
while getopts "hd:a:o:lp:u:r:v:" OPTION
|
while getopts "hd:a:o:lp:u:r:v:" OPTION
|
||||||
do
|
do
|
||||||
@@ -87,13 +87,16 @@ case $gamos in
|
|||||||
gamos="linux"
|
gamos="linux"
|
||||||
this_glibc_ver=$(ldd --version | awk '/ldd/{print $NF}')
|
this_glibc_ver=$(ldd --version | awk '/ldd/{print $NF}')
|
||||||
echo "This Linux distribution uses glibc $this_glibc_ver"
|
echo "This Linux distribution uses glibc $this_glibc_ver"
|
||||||
if version_gt $gam_glibc_ver $this_glibc_ver; then
|
useglibc="legacy"
|
||||||
echo_yellow "NOTICE: You are running an older Linux distro than the one GAM was compiled on. A legacy GAM version that should be compatible with your system but may run slower will be installed. For best performance, upgrade to a newer Linux distribution like Debian 9 stable, Ubuntu Xenial 16.04, Fedora 24+ or RedHat Enterprise Linux 8."
|
for gam_glibc_ver in $gam_glibc_vers; do
|
||||||
gamarch=x86_64_legacy
|
if version_gt $this_glibc_ver $gam_glibc_ver; then
|
||||||
|
useglibc="glibc$gam_glibc_ver"
|
||||||
|
echo_green "Using GAM compiled against $useglibc"
|
||||||
|
break
|
||||||
fi
|
fi
|
||||||
|
done
|
||||||
case $gamarch in
|
case $gamarch in
|
||||||
x86_64) gamfile="linux-x86_64.tar.xz";;
|
x86_64) gamfile="linux-x86_64-$useglibc.tar.xz";;
|
||||||
x86_64_legacy) gamfile="linux-x86_64-legacy.tar.xz";;
|
|
||||||
i?86) gamfile="linux-i686.tar.xz";;
|
i?86) gamfile="linux-i686.tar.xz";;
|
||||||
arm|armv7l) gamfile="linux-armv7l.tar.xz";;
|
arm|armv7l) gamfile="linux-armv7l.tar.xz";;
|
||||||
arm64|aarch64) gamfile="linux-aarch64.tar.xz";;
|
arm64|aarch64) gamfile="linux-aarch64.tar.xz";;
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
This file has been deprecated. For the latest features see https://git.io/gam-releases notes
|
||||||
|
|
||||||
GAM 4.65
|
GAM 4.65
|
||||||
- Manage email delivery settings for group members
|
- Manage email delivery settings for group members
|
||||||
- Add operatingSystemType to user posix config (Roman)
|
- Add operatingSystemType to user posix config (Roman)
|
||||||
|
|||||||
Reference in New Issue
Block a user