added some exceptions for drive H:
This commit is contained in:
parent
4593b7df4d
commit
d88c225e42
@ -218,7 +218,7 @@ if %install_aerolite% == 1 (
|
||||
echo Creating workspace folder ...
|
||||
mkdir "%USERPROFILE%"\workspace 1>nul 2>nul
|
||||
|
||||
echo Setting up SSH client ...
|
||||
echo Setting up SSH client config ...
|
||||
mkdir "%USERPROFILE%"\.ssh 1>nul 2>nul
|
||||
copy /Y %TOOLS%\scripts\config\ssh-config.txt "%USERPROFILE%"\.ssh\config 1>nul 2>nul
|
||||
|
||||
@ -263,7 +263,6 @@ reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" ^
|
||||
/v "ShowSecondsInSystemClock" /t REG_DWORD /d 1 /f 1>nul
|
||||
|
||||
echo Setting the "GLOBAL" view mode for windows EXPLORER ...
|
||||
echo.
|
||||
powershell -command %TOOLS%\scripts\set-explorer-viewmode.ps1
|
||||
echo.
|
||||
|
||||
@ -503,6 +502,18 @@ rem ===========
|
||||
rem USER RIGHTS
|
||||
rem ===========
|
||||
|
||||
if "%HOMEDRIVE%%HOMEPATH%" NEQ "%USERPROFILE%" (
|
||||
echo Creating workspace folder (domain drive)...
|
||||
mkdir "%HOMEDRIVE%%HOMEPATH%"\workspace 1>nul 2>nul
|
||||
|
||||
echo Setting up SSH client config (domain drive)...
|
||||
mkdir "%HOMEDRIVE%\%HOMEPATH%"\.ssh 1>nul 2>nul
|
||||
copy /Y %TOOLS%\scripts\config\ssh-config.txt "%HOMEDRIVE%%HOMEPATH%"\.ssh\config 1>nul 2>nul
|
||||
|
||||
echo Installing a VIM configuration (domain drive)...
|
||||
copy /Y %TOOLS%\scripts\config\vimrc.txt "%HOMEDRIVE%%HOMEPATH%"\.vimrc 1>nul 2>nul
|
||||
)
|
||||
|
||||
echo.
|
||||
echo Cleaning users home directory
|
||||
echo ########################################
|
||||
|
@ -88,14 +88,25 @@ rem SSH keys ...
|
||||
if EXIST %GITWORKDIR%\%gitrepo% (
|
||||
echo copying users SSH keys ...
|
||||
copy /Y %GITWORKDIR%\%gitrepo%\id*.* %USERPROFILE%\.ssh 2>nul
|
||||
|
||||
if "%HOMEDRIVE%%HOMEPATH%" NEQ "%USERPROFILE%" (
|
||||
echo copying users gitconfig (domain drive) ...
|
||||
copy /Y %GITWORKDIR%\%gitrepo%\id*.* "%HOMEDRIVE%%HOMEPATH%"\.ssh 2>nul
|
||||
)
|
||||
)
|
||||
|
||||
rem GIT
|
||||
rem GITCONFIG ...
|
||||
if EXIST %GITWORKDIR%\%gitrepo%\gitconfig (
|
||||
echo copying users gitconfig ...
|
||||
copy /Y %GITWORKDIR%\%gitrepo%\gitconfig %USERPROFILE%\.gitconfig
|
||||
|
||||
if "%HOMEDRIVE%%HOMEPATH%" NEQ "%USERPROFILE%" (
|
||||
echo copying users gitconfig (domain drive) ...
|
||||
copy /Y %GITWORKDIR%\%gitrepo%\gitconfig "%HOMEDRIVE%%HOMEPATH%"\.gitconfig
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
rem create a statusfile (this codeblock must be executed only once per user) ...
|
||||
echo 1 >%PERSONALFILES_DONE%
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user