File tree Expand file tree Collapse file tree 1 file changed +38
-3
lines changed
Expand file tree Collapse file tree 1 file changed +38
-3
lines changed Original file line number Diff line number Diff line change 3333# ### Variables
3434# #######################################################################
3535# Versioning
36- version=" Version: 01.00-14 , Script Date: 2022.06.12"
36+ version=" Version: 01.00-15 , Script Date: 2022.06.12"
3737# md5_sum=$(md5sum $sname | sed 's/system.*//g' )
3838arg1=$1
3939arg2=$2
@@ -894,15 +894,51 @@ function GetDistUpgradeDate()
894894}
895895
896896function GetHweRange() {
897- # Valid current choices for Release numbers LTS are: 18 .04, 20.04, 22.04
897+ # Valid current choices for Release numbers LTS are: 14 .04 through current DEV versions...
898898 LSB_Rel=$( lsb_release -sr | cut -c 1-5)
899899 case " $LSB_Rel " in
900+ (" 14.04" )
901+ LTS_PKG=" 14.04"
902+ ;;
903+ (" 14.10" )
904+ LTS_PKG=" 14.04"
905+ ;;
906+ (" 15.04" )
907+ LTS_PKG=" 14.04"
908+ ;;
909+ (" 15.10" )
910+ LTS_PKG=" 14.04"
911+ ;;
912+ (" 16.04" )
913+ LTS_PKG=" 16.04"
914+ ;;
915+ (" 16.10" )
916+ LTS_PKG=" 16.04"
917+ ;;
918+ (" 17.04" )
919+ LTS_PKG=" 16.04"
920+ ;;
921+ (" 17.10" )
922+ LTS_PKG=" 16.04"
923+ ;;
900924 (" 18.04" )
901925 LTS_PKG=" 18.04"
902926 ;;
927+ (" 18.10" )
928+ LTS_PKG=" 18.04"
929+ ;;
930+ (" 19.04" )
931+ LTS_PKG=" 18.04"
932+ ;;
933+ (" 19.10" )
934+ LTS_PKG=" 18.04"
935+ ;;
903936 (" 20.04" )
904937 LTS_PKG=" 20.04"
905938 ;;
939+ (" 20.10" )
940+ LTS_PKG=" 20.04"
941+ ;;
906942 (" 21.04" )
907943 LTS_PKG=" 20.04"
908944 ;;
@@ -917,7 +953,6 @@ function GetHweRange() {
917953 ;;
918954 (* )
919955 echo -e " Something went wrong. LTS Edition out of HWE support range."
920- exit 1
921956 esac
922957
923958}
You can’t perform that action at this time.
0 commit comments