docker and docker-compose commands
Invoke-DockerCompose which will be the basis of all other future dc prefixed commands (which currently contains to much copy-pasted code)
This commit is contained in:
parent
6e56ac6097
commit
24b5e928d0
14 changed files with 183 additions and 17 deletions
|
@ -29,7 +29,7 @@ begin {
|
|||
}
|
||||
|
||||
if( [string]::IsNullOrWhiteSpace($DirPermission) ) {
|
||||
$DirPermission = $env:SZ_DIR_PERM ?? "664"
|
||||
$DirPermission = $env:SZ_DIR_PERM ?? "775"
|
||||
}
|
||||
|
||||
$cmdArgs = "-Recurse:`$$(-not $NonRecursive) -Force:`$$Force"
|
||||
|
|
|
@ -5,8 +5,8 @@ param(
|
|||
|
||||
$script:yayCli = "cat /run/check.yay.updates/list"
|
||||
switch( $Mode ){
|
||||
'Update' { $yayCli = "yay -Syu --needed --ignore docker,linux,linux-api-headers,linux-firmware,linux-headers,zfs-linux" }
|
||||
'Auto' { $yayCli = "yay -Syu --needed --noconfirm --ignore docker || yay -Syu --needed --ignore docker,linux,linux-api-headers,linux-firmware,linux-headers,zfs-linux --noconfirm" }
|
||||
'Update' { $yayCli = "yay -Syu --needed --ignore docker,linux,linux-api-headers,linux-firmware,linux-headers,zfs-linux,zfs-utils" }
|
||||
'Auto' { $yayCli = "yay -Syu --needed --noconfirm --ignore docker || yay -Syu --needed --ignore docker,linux,linux-api-headers,linux-firmware,linux-headers,zfs-linux,zfs-utils --noconfirm" }
|
||||
'All' { $yayCli = "yay -Syu --needed" }
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue