-
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
5 changed files
with
96 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
[![](https://img.shields.io/chocolatey/v/wsl-debiangnulinux?color=green&label=wsl-debiangnulinux)](https://chocolatey.org/packages/wsl-debiangnulinux) [![](https://img.shields.io/chocolatey/dt/wsl-debiangnulinux)](https://chocolatey.org/packages/wsl-debiangnulinux) | ||
|
||
## Debian GNU/Linux 9 (stretch) for Windows Subsystem for Linux (Install) | ||
|
||
--- | ||
|
||
###This packages installs Debian GNU/Linux 9 (stretch) for Windows Subsystem for Linux. | ||
|
||
**[PACKAGE NOTES](https://github.com/bcurran3/ChocolateyPackages/blob/master/wsl-debiangnulinux/readme.md)** | ||
|
||
*** | ||
**Click here to [Patreon-ize](https://www.patreon.com/bcurran3) the package maintainer.** | ||
*** | ||
|
||
--- | ||
|
||
#### [choco://wsl-debiangnulinux](choco://wsl-debiangnulinux) | ||
To use choco:// protocol URLs, install [(unofficial) choco:// Protocol support ](https://chocolatey.org/packages/choco-protocol-support) | ||
|
||
### Package-specific issue | ||
If this package isn't up-to-date for some days, [Create an issue](https://github.com/tunisiano187/Chocolatey-packages/issues/new/choose) | ||
|
||
Support the package maintainer and [![Patreon](https://cdn.jsdelivr.net/gh/tunisiano187/Chocolatey-packages@d15c4e19c709e7148588d4523ffc6dd3cd3c7e5e/icons/patreon.png)](https://www.patreon.com/tunisiano) | ||
|
||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
$ErrorActionPreference = 'Stop' | ||
$packageName = 'wsl-debiangnulinux' | ||
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)" | ||
$url = 'https://aka.ms/wsl-debian-gnulinux' | ||
$checksum = '02CC1CE48E2FC21331B6FAA2AF44F22FBB9E9C219EAF74202970164BE6E3D3D8' | ||
$unzipLocation = "$toolsDir\unzipped" | ||
$exe = 'debian.exe' | ||
|
||
New-Item $unzipLocation -type directory | out-null | ||
|
||
$packageArgs = @{ | ||
packageName = $packageName | ||
unzipLocation = $unzipLocation | ||
fileType = 'ZIP' | ||
url = $url | ||
checksum = $checksum | ||
checksumType = 'sha256' | ||
} | ||
|
||
Install-ChocolateyZipPackage @packageArgs | ||
|
||
$packageArgs = @{ | ||
packageName = $packageName | ||
softwareName = '' | ||
fileType = 'EXE' | ||
silentArgs = 'install --root' | ||
file = "$unzipLocation\$exe" | ||
validExitCodes = @(0) | ||
} | ||
|
||
Install-ChocolateyInstallPackage @packageArgs | ||
wslconfig /list |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
$ErrorActionPreference = 'Stop' | ||
$packageName = 'wsl-debiangnulinux' | ||
|
||
wslconfig /unregister Debian | ||
wslconfig /list |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<?xml version="1.0"?> | ||
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd"> | ||
<metadata> | ||
<id>wsl-debiangnulinux</id> | ||
<version>9.0.0.020180923</version> | ||
<title>Debian GNU/Linux 9 (stretch) for Windows Subsystem for Linux (Install)</title> | ||
<authors>Software in the Public Interest, Inc. and others</authors> | ||
<owners>bcurran3</owners> | ||
<licenseUrl>https://www.debian.org/license</licenseUrl> | ||
<projectUrl>https://www.microsoft.com/en-us/windows/features</projectUrl> | ||
<iconUrl>https://www.debian.org/logos/openlogo-100.png</iconUrl> | ||
<requireLicenseAcceptance>false</requireLicenseAcceptance> | ||
<description>###This packages installs Debian GNU/Linux 9 (stretch) for Windows Subsystem for Linux. | ||
|
||
**[PACKAGE NOTES](https://github.com/bcurran3/ChocolateyPackages/blob/master/wsl-debiangnulinux/readme.md)** | ||
|
||
*** | ||
**Click here to [Patreon-ize](https://www.patreon.com/bcurran3) the package maintainer.** | ||
***</description> | ||
<summary>This packages installs Debian GNU/Linux 9 (stretch) for Windows Subsystem for Linux.</summary> | ||
<releaseNotes>https://docs.microsoft.com/en-us/windows/wsl/release-notes</releaseNotes> | ||
<copyright>Copyright © SPI and others</copyright> | ||
<tags>wsl debian gnu stretch linux</tags> | ||
<packageSourceUrl>https://github.com/bcurran3/ChocolateyPackages/tree/master/wsl-debiangnulinux</packageSourceUrl> | ||
<docsUrl>https://docs.microsoft.com/en-us/windows/wsl/about</docsUrl> | ||
<bugTrackerUrl>https://github.com/Microsoft/WSL/issues</bugTrackerUrl> | ||
<dependencies> | ||
<dependency id="wsl" version="1.0.1" /> | ||
</dependencies> | ||
</metadata> | ||
<files> | ||
<file src="tools\**" target="tools" /> | ||
</files> | ||
</package> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.