@@ -199,16 +199,14 @@ usage()
199199 echo " Usage examples:"
200200 echo " $me "
201201 echo " $me -u"
202- echo " $me --cli-only"
203- echo " $me --driver-only"
202+ echo " $me -c | - -cli-only"
203+ echo " $me -d | - -driver-only"
204204 echo
205- echo " -c | --cli-only : Install Elastio CLI only , without change tracking driver elastio-snap."
205+ echo " -c | --cli-only : Install Elastio CLI, without change tracking driver elastio-snap. (Default) "
206206 echo
207- echo " -d | --driver-only : Install change tracking driver elastio-snap only, without Elastio CLI."
208- echo " NOTES:"
209- echo " - There are no elastio-snap packages for Fedora (kernel versions newer than $MAX_LINUX_VER .$MAX_LINUX_MAJOR_REV ) as of yet."
210- echo " So, temporarily this option does nothing on the latest Fedora with the latest Linux kernel versions."
211- echo " - elastio-snap change tracking driver does not support ARM64 architecture."
207+ echo " -d | --driver-only : Install change tracking driver elastio-snap."
208+ echo " WARNING:"
209+ echo " - elastio-snap change tracking driver is not supported anymore and could be unavailable for new distros."
212210 echo
213211 echo " -u | --uninstall : Uninstall all Elastio packages."
214212 echo
@@ -231,6 +229,10 @@ while [ "$1" != "" ]; do
231229 shift
232230done
233231
232+ if [ -z " $cli " ] && [ -z " $driver " ]; then
233+ cli=1
234+ fi
235+
234236if [ " $EUID " -ne 0 ]; then
235237 echo " Run as sudo or root."
236238 exit 1
268270# Lowercase dist_name
269271dist_name=$( echo ${dist_name,,} )
270272
271- if [ -z " $cli " ] && [ -z " $driver " ]; then
272- cli=1
273- [ $( uname -m) != " aarch64" ] && driver=1
274- fi
275-
276273if [ -n " $driver " ]; then
277274 if [ $( uname -m) == " aarch64" ]; then
278275 echo " The change tracking driver is not yet available for ARM64 processors. Ignoring driver installation..."
@@ -348,15 +345,15 @@ case ${dist_name} in
348345 case ${dist_name} in
349346 ubuntu )
350347 min_ver=20
351- max_ver=22
348+ max_ver=24
352349 ;;
353350 pop )
354351 min_ver=22
355352 max_ver=22
356353 ;;
357354 esac
358355
359- # Ubuntu supported versions are 20.XX - 22 .XX,
356+ # Ubuntu supported versions are 20.XX - 24 .XX,
360357 # Debian supported versions are 10 - 12
361358 # on both amd64 and arm64.
362359 # Pop!OS is equal to Ubuntu 22.04 and exists just of the single version 22.04.
0 commit comments