File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
base/scripts/usr/local/bin/before-notebook.d Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,10 @@ if [ "$(id -u)" == 0 ] ; then
3333 update-locale --reset LANG=" $LANG "
3434 fi
3535
36+ # # Create user's projects and workspaces folder
37+ su " $NB_USER " -c " mkdir -p /home/$NB_USER ${DOMAIN: +@ $DOMAIN } /projects"
38+ su " $NB_USER " -c " mkdir -p /home/$NB_USER ${DOMAIN: +@ $DOMAIN } /workspaces"
39+
3640 CS_USD=" /home/$NB_USER ${DOMAIN: +@ $DOMAIN } /.local/share/code-server/User"
3741 # Install code-server settings
3842 su " $NB_USER " -c " mkdir -p $CS_USD "
7377 LANG=en_US.UTF-8
7478 fi
7579
80+ # # Create user's projects and workspaces folder
81+ mkdir -p " $HOME /projects"
82+ mkdir -p " $HOME /workspaces"
83+
7684 CS_USD=" $HOME /.local/share/code-server/User"
7785 # Install code-server settings
7886 mkdir -p " $CS_USD "
You can’t perform that action at this time.
0 commit comments