From f2610de6e053765885fed9275fd330d4617badba Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Tue, 20 Jun 2023 22:04:11 +0200 Subject: [PATCH] Move windows files --- profiles/DerGeret/Backup.ps1 | 9 --------- profiles/DerGeret/Windows/Backup.ps1 | 9 +++++++++ profiles/DerGeret/{ => Windows}/Restore.ps1 | 0 3 files changed, 9 insertions(+), 9 deletions(-) delete mode 100644 profiles/DerGeret/Backup.ps1 create mode 100644 profiles/DerGeret/Windows/Backup.ps1 rename profiles/DerGeret/{ => Windows}/Restore.ps1 (100%) diff --git a/profiles/DerGeret/Backup.ps1 b/profiles/DerGeret/Backup.ps1 deleted file mode 100644 index 15732b538..000000000 --- a/profiles/DerGeret/Backup.ps1 +++ /dev/null @@ -1,9 +0,0 @@ -. "$PSScriptRoot/../../scripts/Windows/Scripts/Prerequisites.ps1"; -. "$PSScriptRoot/../../scripts/Windows/Scripts/Context.ps1"; -. "$PSScriptRoot/../../scripts/Windows/OS/Manage.ps1"; - -$null = New-Module { - $context = [Context]::new(); - $context.BackupName = $env:BACKUP_NAME ?? $(Read-Host -Prompt "Please enter a backup name"); - Invoke-WindowsBackup $context; -} diff --git a/profiles/DerGeret/Windows/Backup.ps1 b/profiles/DerGeret/Windows/Backup.ps1 new file mode 100644 index 000000000..8c4c346bf --- /dev/null +++ b/profiles/DerGeret/Windows/Backup.ps1 @@ -0,0 +1,9 @@ +. "$PSScriptRoot/../../../scripts/Windows/Scripts/Prerequisites.ps1"; +. "$PSScriptRoot/../../../scripts/Windows/Scripts/Context.ps1"; +. "$PSScriptRoot/../../../scripts/Windows/OS/Manage.ps1"; + +$null = New-Module { + $context = [Context]::new(); + $context.BackupName = $env:BACKUP_NAME ?? $(Read-Host -Prompt "Please enter a backup name"); + Invoke-WindowsBackup $context; +} diff --git a/profiles/DerGeret/Restore.ps1 b/profiles/DerGeret/Windows/Restore.ps1 similarity index 100% rename from profiles/DerGeret/Restore.ps1 rename to profiles/DerGeret/Windows/Restore.ps1