Skip to content

Instantly share code, notes, and snippets.

@castrojo
Created June 28, 2023 22:20
Show Gist options
  • Save castrojo/8235d3cf076e1d9143668353cd416b71 to your computer and use it in GitHub Desktop.
Save castrojo/8235d3cf076e1d9143668353cd416b71 to your computer and use it in GitHub Desktop.
++ echo 'distrobox: Installing basic packages...'
++ cut -d: -f2-
+ current_line=' Installing basic packages...'
+ grep -q ' Installing basic packages...' /var/home/jorge/.cache/.omg.status
+ printf '\033[32m [ OK ]\n\033[0m%-40s\t' ' Installing basic packages...'
[ OK ]
Installing basic packages... + printf '%s\n' ' Installing basic packages...'
+ IFS=
+ read -r line
+ case "${line}" in
+ IFS=
+ read -r line
+ case "${line}" in
+ IFS=
+ read -r line
+ case "${line}" in
+ IFS=
+ read -r line
+ case "${line}" in
+ printf '\033[31m %s\n\033[0m' 'Error: An error occurred'
Error: An error occurred
+ exit 1
+ rm -f /var/home/jorge/.cache/.omg.fifo /var/home/jorge/.cache/.omg.status
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment