Rename powershell command

This commit is contained in:
Manuel Thalmann 2023-06-30 12:19:54 +02:00
parent 8e4f0ccd9a
commit 9758a6428f
16 changed files with 35 additions and 35 deletions
scripts/Windows/Software/git

View file

@ -1,9 +1,9 @@
. "$PSScriptRoot/../../Scripts/Context.ps1";
$null = New-Module {
function Invoke-BackupGit([Context] $context) {}
function Backup-Git([Context] $context) {}
function Invoke-RestoreGit([Context] $context) {
function Restore-Git([Context] $context) {
$script = New-TemporaryFile;
$script = Rename-Item $script "$($script.Name).sh" -PassThru;
Set-Content $script "bash `"$PSScriptRoot/../../../Common/Config/git/install.sh`"";