Add she-bang to all files
This commit is contained in:
parent
c02dc0816a
commit
487c83afb2
29 changed files with 29 additions and 0 deletions
|
@ -1,3 +1,4 @@
|
|||
#!/bin/pwsh
|
||||
. "$PSScriptRoot/../../../scripts/Windows/Scripts/Prerequisites.ps1";
|
||||
. "$PSScriptRoot/../../../scripts/Windows/Scripts/Context.ps1";
|
||||
. "$PSScriptRoot/../../../scripts/Windows/OS/Manage.ps1";
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#!/bin/pwsh
|
||||
. "$PSScriptRoot/../../../scripts/Windows/Scripts/Prerequisites.ps1";
|
||||
. "$PSScriptRoot/../../../scripts/Windows/Scripts/Context.ps1";
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#!/bin/pwsh
|
||||
$env:WIN_COMPUTER_NAME = "DerGeret";
|
||||
$env:SETUP_SCRIPT_NAME = [System.IO.Path]::GetRelativePath("$PSScriptRoot/../../..", "$PSScriptRoot/Restore.ps1");
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#!/bin/bash
|
||||
pushd "${BASH_SOURCE%/*}" > /dev/null;
|
||||
|
||||
source "../../Common/Scripts/choose-disk.sh";
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#!/bin/bash
|
||||
# Elevate script
|
||||
if [ ! "$UID" -eq 0 ]
|
||||
then
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#!/bin/bash
|
||||
if [ "$XDG_SESSION_TYPE" == "wayland" ]
|
||||
then
|
||||
export MOZ_ENABLE_WAYLAND=1
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#!/bin/bash
|
||||
function isTruthy() {
|
||||
local value;
|
||||
value="$1";
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#!/bin/bash
|
||||
contextRoot="$(mktemp -d)";
|
||||
pushd "$contextRoot" > /dev/null;
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#!/bin/pwsh
|
||||
. "$PSScriptRoot/../Scripts/Context.ps1";
|
||||
. "$PSScriptRoot/../Software/git/Manage.ps1";
|
||||
. "$PSScriptRoot/../Software/LGHub/Manage.ps1";
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#!/bin/pwsh
|
||||
. "$PSScriptRoot/Manage.ps1";
|
||||
. "$PSScriptRoot/Upgrade.ps1";
|
||||
. "$PSScriptRoot/User.ps1";
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#!/bin/pwsh
|
||||
. "$PSScriptRoot/../Scripts/Context.ps1";
|
||||
. "$PSScriptRoot/../Scripts/PersonalFiles.ps1";
|
||||
. "$PSScriptRoot/../Software/Nextcloud/Manage.ps1";
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#!/bin/pwsh
|
||||
$null = $env:WIN_COMPUTER_NAME;
|
||||
$null = $env:SETUP_SCRIPT_NAME;
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#!/bin/pwsh
|
||||
. "$PSScriptRoot/../Scripts/Context.ps1";
|
||||
|
||||
function Update-WindowsInstallation([Context] $context)
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#!/bin/pwsh
|
||||
. "$PSScriptRoot/../Scripts/Context.ps1";
|
||||
$preparedUsernameProperty = "AutoLoginUser";
|
||||
$preparedPasswordProperty = "AutoLoginPassword";
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#!/bin/pwsh
|
||||
class Context {
|
||||
[string]$EntryPoint;
|
||||
[string]$RootDir;
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#!/bin/pwsh
|
||||
. "$PSScriptRoot/Context.ps1";
|
||||
|
||||
function Get-BackupCandidates() {
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#!/bin/pwsh
|
||||
foreach ($module in @("PSWindowsUpdate", "KnownFolders"))
|
||||
{
|
||||
if (-not (Get-Module -ListAvailable $module))
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#!/bin/pwsh
|
||||
. "$PSScriptRoot/../../Scripts/Context.ps1";
|
||||
|
||||
$null = New-Module {
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#!/bin/pwsh
|
||||
. "$PSScriptRoot/../../Scripts/Context.ps1";
|
||||
|
||||
$null = New-Module {
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#!/bin/pwsh
|
||||
. "$PSScriptRoot/../../Scripts/Context.ps1";
|
||||
|
||||
$null = New-Module {
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#!/bin/pwsh
|
||||
. "$PSScriptRoot/../../Scripts/Context.ps1";
|
||||
|
||||
$null = New-Module {
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#!/bin/pwsh
|
||||
. "$PSScriptRoot/../../Scripts/Context.ps1";
|
||||
|
||||
$null = New-Module {
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#!/bin/pwsh
|
||||
. "$PSScriptRoot/../../Scripts/Context.ps1";
|
||||
|
||||
$null = New-Module {
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#!/bin/pwsh
|
||||
. "$PSScriptRoot/../../Scripts/Context.ps1";
|
||||
|
||||
$null = New-Module {
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#!/bin/pwsh
|
||||
Import-Module "KnownFolders";
|
||||
. "$PSScriptRoot/../../Scripts/Context.ps1";
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#!/bin/pwsh
|
||||
. "$PSScriptRoot/../../Scripts/Context.ps1";
|
||||
|
||||
$null = New-Module {
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#!/bin/pwsh
|
||||
. "$PSScriptRoot/../../Scripts/Context.ps1";
|
||||
|
||||
$null = New-Module {
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#!/bin/pwsh
|
||||
. "$PSScriptRoot/../../Scripts/Context.ps1";
|
||||
|
||||
$null = New-Module {
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#!/bin/pwsh
|
||||
. "$PSScriptRoot/../../Scripts/Context.ps1";
|
||||
|
||||
$null = New-Module {
|
||||
|
|
Loading…
Reference in a new issue