mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-30 20:55:42 +00:00 
			
		
		
		
	Fix debian 11 detection on installer (#4241)
* Fix debian 11 detection Fixes #4236 * compile installer script * fix typo
This commit is contained in:
		| @@ -73,11 +73,11 @@ root_command() { | |||||||
|               SUPPORTED=false |               SUPPORTED=false | ||||||
|           fi |           fi | ||||||
|           ;; |           ;; | ||||||
|       "Debian GNU/Linux" | Raspbian) |       "Debian GNU/Linux" | "debian gnu/linux" | Raspbian) | ||||||
|           if [[ $VER != "11" ]]; then |           if [[ $VER != "11" ]]; then | ||||||
|               SUPPORTED=false |               SUPPORTED=false | ||||||
|           fi |           fi | ||||||
|           OS=Debian |           DIST_OS=debian | ||||||
|           ;; |           ;; | ||||||
|       *) |       *) | ||||||
|           echo "### Distribution not supported" |           echo "### Distribution not supported" | ||||||
|   | |||||||
| @@ -63,11 +63,11 @@ case "$OS" in | |||||||
|             SUPPORTED=false |             SUPPORTED=false | ||||||
|         fi |         fi | ||||||
|         ;; |         ;; | ||||||
|     "Debian GNU/Linux" | Raspbian) |     "Debian GNU/Linux" | "debian gnu/linux" | Raspbian) | ||||||
|         if [[ $VER != "11" ]]; then |         if [[ $VER != "11" ]]; then | ||||||
|             SUPPORTED=false |             SUPPORTED=false | ||||||
|         fi |         fi | ||||||
|         OS=Debian |         DIST_OS=debian | ||||||
|         ;; |         ;; | ||||||
|     *) |     *) | ||||||
|         echo "### Distribution not supported" |         echo "### Distribution not supported" | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user