Skip to content

Commit

Permalink
Merge pull request #507 from rickard-von-essen/oel_cleanup_fix
Browse files Browse the repository at this point in the history
Fix error in cleanup.sh script introduced in d01cb1d
  • Loading branch information
Seth Thomas committed Dec 19, 2015
2 parents ac02927 + ca28c50 commit 3c40b4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/centos/cleanup.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/bin/sh -eux

if [ -s /etc/oracle-release ]; then
distro = 'oracle'
distro='oracle'
elif [ -s /etc/enterprise-release ]; then
distro = 'oracle'
distro='oracle'
elif [ -s /etc/redhat-release ]; then
# should ouput 'centos' OR 'red hat'
distro=`cat /etc/redhat-release | sed 's/^\(CentOS\|Red Hat\).*/\1/i' | tr '[:upper:]' '[:lower:]'`
Expand Down

0 comments on commit 3c40b4f

Please sign in to comment.