mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-11-04 10:09:42 +00:00
b5938: Add comment
This commit is contained in:
1 parent
d190ca1d5b
commit
d8cc251cac
1 file changed
+1
-1
@@ -20,7 +20,7 @@ GIT_DIR_NAME="$3"
|
||||
cd "$(dirname "$0")/${ENV_TYPE}"
|
||||
GIT_PATH="$(grep "^${GIT_USER}" /etc/passwd | cut -d':' -f6)/${GIT_DIR_NAME}" # The path to the git repo that contains the files needed.
|
||||
for dir in $(ls -d */ ); do
|
||||
USERNAME=$(echo $dir | sed "s/\/$//")
|
||||
USERNAME=$(echo $dir | sed "s/\/$//") # Dirname is the username. The trailing slash is removed.
|
||||
HOME_DIR=$(grep "^${USERNAME}" /etc/passwd | cut -d':' -f6) # The path to the home dir of the user whose cronjob will be installed.
|
||||
touch $HOME_DIR/crontab
|
||||
for crontab in $(ls ${USERNAME}/crontab*); do
|
||||
|
||||
Reference in new issue
Block a user