automotiveMastermind / numonic

The second generation prompt for macOS, Linux, and WSL
MIT License
9 stars 5 forks source link

fix(shell): install fails when unzip isn't installed #13

Open johankees opened 2 years ago

johankees commented 2 years ago

Commands to Reproduce

./bootstrap.sh bash

Expected Results

Successful installation

Actual Results

numonic: establishing sudo (you may be prompted for credentials)...

numonic: sudo enabled
numonic: creating backup path: /home/johan.vliek/.local/backup/numonic/2022-59-26-115911
noominic: creating backup from: /home/johan.vliek/.local/numonic
numonic: backing up bash_completion
numonic: backing up bash_profile
numonic: backing up bashrc
numonic: backing up pam_environment
numonic: backing up profile
numonic: backing up zprofile
numonic: backing up zshrc
numonic: install platform prerequisites for: debian
debian: updating software repositories...
Hit:1 http://security.ubuntu.com/ubuntu focal-security InRelease
Hit:2 http://archive.ubuntu.com/ubuntu focal InRelease
Hit:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:4 http://archive.ubuntu.com/ubuntu focal-backports InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
debian: installing git gnupg jq...
Reading package lists... Done
Building dependency tree
Reading state information... Done
git is already the newest version (1:2.25.1-1ubuntu3.2).
gnupg is already the newest version (2.2.19-3ubuntu2.1).
jq is already the newest version (1.6-1ubuntu0.20.04.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
debian: removing unnecessary dependencies...
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
numonic: install platform prerequisites for: linux
linux: installing starship...
linux: upgrading fira code font...
/tmp/tmp.1VRn72Aupd/install.sh: 53: /tmp/tmp.1VRn72Aupd/src/sh/install/linux.sh: unzip: not found

Any additional logs that will help us?

No response

Operating System(s)

Ubuntu, Windows (WSL)

Operating System (Other)

No response

Architecture

amd64 / x86_64

Shell

bash

Terminal Program(s)

other

Terminal Program(s) (Other)

Windows Terminal

What is the output from uname -srv on the system(s) where the bug is occurring?

Linux 4.4.0-19041-Microsoft #1237-Microsoft Sat Sep 11 14:32:00 PST 2021

Code of Conduct

sjk07 commented 2 years ago

@johankees Thanks for this report. We are aware of the issue and a PR exists to fix it #7. Will get this in soon.