mirror of
https://github.com/Ponce/slackbuilds
synced 2024-12-02 13:04:42 +01:00
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:
parent
c372cf450e
commit
8f50e5ae58
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue