mirror of https://github.com/borgbackup/borg.git
parent
4714a453a8
commit
b09e4eff86
|
@ -201,7 +201,6 @@ def packages_cygwin(version)
|
||||||
regtool set /HKLM/SYSTEM/CurrentControlSet/Services/OpenSSHd/ImagePath "C:\\cygwin\\CygWin\\bin\\cygrunsrv.exe"
|
regtool set /HKLM/SYSTEM/CurrentControlSet/Services/OpenSSHd/ImagePath "C:\\cygwin\\CygWin\\bin\\cygrunsrv.exe"
|
||||||
bash -c "ssh-host-config --no"
|
bash -c "ssh-host-config --no"
|
||||||
' > /cygdrive/c/cygwin/install.bat
|
' > /cygdrive/c/cygwin/install.bat
|
||||||
cd /cygdrive/c/cygwin && cmd.exe /c install.bat
|
|
||||||
|
|
||||||
echo "alias mkdir='mkdir -p'" > ~/.profile
|
echo "alias mkdir='mkdir -p'" > ~/.profile
|
||||||
echo "export CYGWIN_ROOT=/cygdrive/c/cygwin/CygWin" >> ~/.profile
|
echo "export CYGWIN_ROOT=/cygdrive/c/cygwin/CygWin" >> ~/.profile
|
||||||
|
@ -211,6 +210,8 @@ def packages_cygwin(version)
|
||||||
|
|
||||||
cmd.exe /c 'setx /m PATH "%PATH%;C:\\cygwin\\CygWin\\bin"'
|
cmd.exe /c 'setx /m PATH "%PATH%;C:\\cygwin\\CygWin\\bin"'
|
||||||
source ~/.profile
|
source ~/.profile
|
||||||
|
cd /cygdrive/c/cygwin && cmd.exe /c install.bat
|
||||||
|
|
||||||
echo 'db_home: windows' > $CYGWIN_ROOT/etc/nsswitch.conf
|
echo 'db_home: windows' > $CYGWIN_ROOT/etc/nsswitch.conf
|
||||||
EOF
|
EOF
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue