提交 68f77104 编写于 作者: K Kohsuke Kawaguchi

leaving the marker in place. could be useful down the road

上级 ca22c456
......@@ -32,11 +32,12 @@ case "$1" in
# If we have an old hudson install, rename it to jenkins
if test -d /var/lib/hudson; then
# We need to ensure that the .??* wildcard matches something
touch /var/lib/hudson/.moving-hudson
# leave a marker to indicate this came from Hudson.
# could be useful down the road
# This also ensures that the .??* wildcard matches something
touch /var/lib/hudson/.from-hudson
mv -f /var/lib/hudson/* /var/lib/hudson/.??* /var/lib/jenkins
rmdir /var/lib/hudson
rm /var/lib/jenkins/.moving-hudson
find /var/lib/jenkins -user hudson -exec chown jenkins {} + || true
fi
if test -d /var/run/hudson; then
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册