Skip to content

Fixed issue with detection of Debian version#146

Merged
humblec merged 3 commits intogluster:masterfrom
Sebbo94BY:patch-1
Sep 18, 2016
Merged

Fixed issue with detection of Debian version#146
humblec merged 3 commits intogluster:masterfrom
Sebbo94BY:patch-1

Conversation

@Sebbo94BY
Copy link
Contributor

@Sebbo94BY Sebbo94BY commented Aug 13, 2016

The old awk command fails, due gensub was never defined:

root@glusterfs01:~# awk '/^VERSION=/{print gensub(/.*[(](.*)[)].*/,"\\1",1)}' /etc/os-release
awk: line 2: function gensub never defined

The old awk command fails, due gensub was never defined:

root@glusterfs01:~# awk '/^VERSION=/{print gensub(/.*[(](.*)[)].*/,"\\1",1)}' /etc/os-release
awk: line 2: function gensub never defined
@Sebbo94BY
Copy link
Contributor Author

Sorry. After the first fix, I've found out, that there was one more: apt tried to fetch it's data from an URL like 'https://download.gluster.org/pub/gluster/glusterfs/LATEST/Debian/8/apt/dists/8/main/binary-amd64/Packages', which returned 404.

The last fix is now working as expected. :)

@humblec humblec merged commit 53d5a1b into gluster:master Sep 18, 2016
@humblec
Copy link
Contributor

humblec commented Sep 18, 2016

Thanks @Sebi94nbg

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants