update zypper element

Scripts in pre-install.d run as root so there is no need to sudo commands.
This patch also helps avoid an error when sudo is not installed in the
default image.

Change-Id: Iab20edfb161189f8c4e0cfa7d6946f63163d6413
This commit is contained in:
Chris Krelle 2014-06-24 16:16:08 -07:00
parent 20879b2ec9
commit 336e286637

View File

@ -4,4 +4,4 @@ set -eu
set -o pipefail set -o pipefail
# Enable caching packages for all repositories # Enable caching packages for all repositories
sudo zypper modifyrepo --all --keep-packages zypper modifyrepo --all --keep-packages