Skip to content

Commit

Permalink
Properly remove the DVD source and only the DVD source
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Smith <tsmith@chef.io>
  • Loading branch information
tas50 committed Oct 25, 2016
1 parent ed60dc3 commit b79cb68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/sles/remove-dvd-source.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh -eux

zypper removerepo `zypper repos | grep 'SLES' | awk '{ print $3 }'`;
zypper removerepo `zypper repos | grep 'SLES' | awk '{ print $3 }' | grep "^SLES"`;
zypper refresh

0 comments on commit b79cb68

Please sign in to comment.