You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior
Both inits should be run with && between them or run as separate lines. The ability to use multiple init lines makes the file much more readable.
Logs
+ printf 'distrobox: Executing init hooks...\n'
+ eval : '&&' apk update '&&' apk upgrade ln -fs /usr/bin/distrobox-host-exec /usr/local/bin/podman
+ :
+ apk update
+ apk upgrade ln -fs /usr/bin/distrobox-host-exec /usr/local/bin/podman
ERROR: Package 'ln' not found
ERROR: Package '/usr/bin/distrobox-host-exec' not found
ERROR: Package '/usr/local/bin/podman' not found
+ '[' 3 -ne 0 ]
+ printf 'Error: An error occurred\n'
Desktop (please complete the following information):
Are you using podman or docker? Podman
Which version or podman or docker? podman version 4.5.1
Which version of distrobox? distrobox version: 1.5.0.2
The text was updated successfully, but these errors were encountered:
Please, before opening a bug:
Describe the bug
Multiple init hooks will break a distrobox assemble operation.
To Reproduce
Create an assemble file with at least two init hooks.
Here is an example file:
Commenting out either of those init hooks and leaving the other in operation will work fine.
Moving the ln command into the first init hook just seperated by &&'s will work as well
Expected behavior
Both inits should be run with && between them or run as separate lines. The ability to use multiple init lines makes the file much more readable.
Logs
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: