diff options
Diffstat (limited to 'remote')
| -rw-r--r-- | remote/includes/distribution.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/remote/includes/distribution.inc b/remote/includes/distribution.inc index 64190986..7a7be738 100644 --- a/remote/includes/distribution.inc +++ b/remote/includes/distribution.inc @@ -28,6 +28,7 @@ detect_distribution () { esac # Get version - we mangle this quite a bit. first make sure it has no spaces, then split version at period (.), underscore (_) and dash (-) SYS_VERSION=$(lsb_release -rs | tolower) + SYS_CODENAME=$(lsb_release -c|cut -f 2) # Codename: eg. Ubuntu raring, openSuse: Dartmouth etc. local VERSION=$(echo $SYS_VERSION | sed -r 's/\s//g;s/[\._]/ /g;s/-//g') local STRTMP="" PRINT_SYS_VERSIONS="*.conf.$SYS_DISTRIBUTION" |
