system/jenkins: Fixed chown syntax

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Robby Workman 2024-07-14 13:37:21 -05:00 committed by Willy Sudiarto Raharjo
parent c372cf450e
commit 8f50e5ae58
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -64,7 +64,7 @@ cd $PKG
mkdir -p $PKG/usr/share/$PRGNAM
cp $CWD/$PRGNAM.war $PKG/usr/share/$PRGNAM/$PRGNAM.war
chown -R jenkins.jenkins $PKG/usr/share/$PRGNAM
chown -R jenkins:jenkins $PKG/usr/share/$PRGNAM
mkdir -p $PKG/usr/bin
cat $CWD/files/jenkins.bin.sh > $PKG/usr/bin/jenkins
@ -83,12 +83,12 @@ mkdir -p $PKG/etc/rc.d
cp $CWD/files/rc.$PRGNAM $PKG/etc/rc.d/rc.$PRGNAM.new
mkdir -p $PKG/var/lib/$PRGNAM/apps
chown jenkins.jenkins $PKG/var/lib/$PRGNAM
chown jenkins:jenkins $PKG/var/lib/$PRGNAM
mkdir -p $PKG/var/log/$PRGNAM
touch $PKG/var/log/$PRGNAM/jenkins.log.new
touch $PKG/var/log/$PRGNAM/jenkins_console.log.new
chown -R jenkins.jenkins $PKG/var/log/$PRGNAM
chown -R jenkins:jenkins $PKG/var/log/$PRGNAM
# We can't depend on this directory persisting across reboots, since /var/run
# is often on tmpfs (or even linked to /run), so we'll create this in the