~ubuntu-branches/ubuntu/utopic/sysdig/utopic

« back to all changes in this revision

Viewing changes to scripts/install-sysdig.in

  • Committer: Package Import Robot
  • Author(s): Evgeni Golov
  • Date: 2014-07-13 11:52:44 UTC
  • mto: This revision was merged to the branch mainline in revision 7.
  • Revision ID: package-import@ubuntu.com-20140713115244-1lrmpedtrrfx4m0b
Tags: upstream-0.1.85
ImportĀ upstreamĀ versionĀ 0.1.85

Show diffs side-by-side

added added

removed removed

Lines of Context:
134
134
 
135
135
elif [ -f /etc/system-release-cpe ]; then
136
136
        DISTRO=$(cat /etc/system-release-cpe | cut -d':' -f3)
137
 
        VERSION=$(cat /etc/system-release-cpe | cut -d':' -f5 | cut -d'.' -f1)
 
137
        VERSION=$(cat /etc/system-release-cpe | cut -d':' -f5 | cut -d'.' -f1 | sed 's/[^0-9]*//g')
138
138
 
139
139
        if [ $DISTRO = "oracle" ] || [ $DISTRO = "centos" ] || [ $DISTRO = "redhat" ]; then
140
140
                if [ $VERSION -ge 6 ]; then