We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bdf1da2 commit eec1830Copy full SHA for eec1830
1k/1kiss.ps1
@@ -1197,8 +1197,16 @@ function setup_unzip() {
1197
if ($IsWin) { return }
1198
$unzip_cmd_info = Get-Command 'unzip' -ErrorAction SilentlyContinue
1199
if (!$unzip_cmd_info) {
1200
- elseif ($IsLinux) {
1201
- if ($(which dpkg)) { sudo apt install unzip }
+ if ($IsLinux) {
+ if ($(which dpkg)) {
1202
+ sudo apt install unzip
1203
+ }
1204
+ elseif($(which pacman)) {
1205
+ sudo pacman -S --needed --noconfirm unzip
1206
1207
+ else {
1208
+ Write-Warning 'Current linux distro is not official supported'
1209
1210
}
1211
elseif ($IsMacOS) {
1212
brew install unzip
0 commit comments