[centos/centos.org] branch main updated: Simple change for dynamic user id in instructions to use jekyll

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is an automated email from the git hooks/post-receive script.

arrfab pushed a commit to branch main
in repository centos/centos.org.

The following commit(s) were added to refs/heads/main by this push:
     new 134b2a5  Simple change for dynamic user id in instructions to use jekyll
134b2a5 is described below

commit 134b2a5d62a83b48c88a6f0a5ee0c12993051b33
Author: Fabian Arrotin <arrfab@xxxxxxxxxx>
AuthorDate: Thu Oct 27 07:48:26 2022 +0200

    Simple change for dynamic user id in instructions to use jekyll
    
    Signed-off-by: Fabian Arrotin <arrfab@xxxxxxxxxx>
---
 README.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index 3cac201..2a7d06b 100644
--- a/README.md
+++ b/README.md
@@ -36,9 +36,9 @@ Let's first clone git repo and ensure that some files in container will be owned
 
     for i in .jekyll-cache vendor vendor/bundle _site ; do
       podman unshare mkdir -p ${git_directory}/centos.org/${i}
-      podman unshare chown -R 1000:1000 ${git_directory}/centos.org/${i}
+      podman unshare chown -R $(id -u):$(id -u) ${git_directory}/centos.org/${i}
     done
-    podman unshare chown -R 1000:1000 ${git_directory}/centos.org/Gemfile.lock
+    podman unshare chown -R $(id -u):$(id -u) ${git_directory}/centos.org/Gemfile.lock
     popd
 
 Let's now for the first time launch jekyll:

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
_______________________________________________
CentOS-docs mailing list
CentOS-docs@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos-docs



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Users]     [CentOS Virtualization]     [Linux Media]     [Asterisk]     [Netdev]     [X.org]     [Xfree86]     [Linux USB]     [Project Hail Cloud Computing]

  Powered by Linux