mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-11-04 10:09:42 +00:00
b5938: copy base stuff accross accross
This commit is contained in:
1 parent
88876081c9
commit
f6f6d007eb
1 file changed
+1
@@ -27,6 +27,7 @@ for dir in $(ls -d */ ); do
|
||||
cat "$crontab" >> $HOME_DIR/crontab
|
||||
echo "" >> $HOME_DIR/crontab # Adds a newline
|
||||
done
|
||||
cp -r $dir/baseHomeDir/* $HOME_DIR
|
||||
sed -i "s|PATH_OF_GIT_HOME_DIR_TO_REPLACE|${GIT_PATH}|g" $HOME_DIR/crontab # Sets correct path to the git repo within the crontab.
|
||||
sed -i "s|PATH_OF_HOME_DIR_TO_REPLACE|${HOME_DIR}|g" $HOME_DIR/crontab # Sets the correct path to the home dir of the user whose crontab will be installed.
|
||||
crontab -u ${USERNAME} $HOME_DIR/crontab # Install the crontab in the given user's home dir.
|
||||
|
||||
Reference in new issue
Block a user