Skip to content
Permalink
Browse files

[JENKINS-23273] Fix typo

  • Loading branch information
raul-arabaolaza committed Jan 31, 2017
1 parent 5ee2ae8 commit d6732acca6e360e6a45c3a05d3db175c04697fb5
Showing with 4 additions and 4 deletions.
  1. +4 −4 rpm/build/SPECS/jenkins.spec
@@ -93,7 +93,7 @@ rm -rf "%{buildroot}"
%post
/sbin/chkconfig --add %{name}

function chownIfNeccesary {
function chownIfNecessary {
logger -t %{name}.installer "Checking ${2} ownership"
if [ -f "${1}" ] ; then
owner=$(cat $1)
@@ -118,9 +118,9 @@ function chownIfNeccesary {
# the existing semantics
. /etc/sysconfig/%{name}
if test x"$JENKINS_INSTALL_SKIP_CHOWN" != "xtrue"; then
chownIfNeccesary "/tmp/%{name}.installer.cacheowner" /var/cache/%{name}
chownIfNeccesary "/tmp/%{name}.installer.logowner" /var/log/%{name}
chownIfNeccesary "/tmp/%{name}.installer.workdirowner" ${JENKINS_HOME:-%{workdir}}
chownIfNecessary "/tmp/%{name}.installer.cacheowner" /var/cache/%{name}
chownIfNecessary "/tmp/%{name}.installer.logowner" /var/log/%{name}
chownIfNecessary "/tmp/%{name}.installer.workdirowner" ${JENKINS_HOME:-%{workdir}}
fi

%preun

0 comments on commit d6732ac

Please sign in to comment.
You can’t perform that action at this time.