summaryrefslogtreecommitdiffstats
path: root/update_jdn.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-12-07 20:05:48 +0100
committerHolger Levsen <holger@layer-acht.org>2015-12-07 20:05:48 +0100
commitece2032911c5668cf137cf43e3abbaad4e75209a (patch)
treef54c2c6f08c9dfd30ef95a63ccea6c19cf030685 /update_jdn.sh
parent50f5f1e924e48474f8dec32c4135d19fd183a3e8 (diff)
downloadjenkins.debian.net-ece2032911c5668cf137cf43e3abbaad4e75209a.tar.xz
reproducible rpms: use mock and sudo correctly
Diffstat (limited to 'update_jdn.sh')
-rwxr-xr-xupdate_jdn.sh4
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