diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-12-07 20:05:48 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-12-07 20:05:48 +0100 |
commit | ece2032911c5668cf137cf43e3abbaad4e75209a (patch) | |
tree | f54c2c6f08c9dfd30ef95a63ccea6c19cf030685 /update_jdn.sh | |
parent | 50f5f1e924e48474f8dec32c4135d19fd183a3e8 (diff) | |
download | jenkins.debian.net-ece2032911c5668cf137cf43e3abbaad4e75209a.tar.xz |
reproducible rpms: use mock and sudo correctly
Diffstat (limited to 'update_jdn.sh')
-rwxr-xr-x | update_jdn.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/update_jdn.sh b/update_jdn.sh index 40605a3d..48fe9734 100755 --- a/update_jdn.sh +++ b/update_jdn.sh @@ -312,8 +312,8 @@ fi # if [ "$HOSTNAME" = "profitbricks-build3-amd64" ] ; then if ! grep mock /etc/group ; then - groupadd --system mock - usermod -a -G mock jenkins + sudo groupadd --system mock + sudo usermod -a -G mock jenkins fi fi |