Skip to content

Commit

Permalink
feat[close #10]: Wrap distrobox-host-exec to setup the right environment
Browse files Browse the repository at this point in the history
  • Loading branch information
mirkobrombin committed Jan 13, 2024
1 parent ac66231 commit b17d881
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
2 changes: 2 additions & 0 deletions includes.container/usr/bin/host-shell
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash
distrobox-host-exec "$@"
9 changes: 5 additions & 4 deletions recipe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,13 @@ modules:
- name: host-aliases
type: shell
commands:
- ln -s /usr/bin/host-spawn /usr/bin/vso
- ln -s /usr/bin/host-spawn /usr/bin/apx
- ln -s /usr/bin/host-spawn /usr/bin/ikaros
- ln -s /usr/bin/host-spawn /usr/bin/vanilla-sideload
- ln -s /usr/bin/host-shell /usr/bin/vso
- ln -s /usr/bin/host-shell /usr/bin/apx
- ln -s /usr/bin/host-shell /usr/bin/ikaros
- ln -s /usr/bin/host-shell /usr/bin/vanilla-sideload
- sh /usr/share/apx/distrobox/gen-distrobox-links
- chmod +x /usr/bin/os-shell
- chmod +x /usr/bin/host-shell
- chmod +x /usr/bin/abroot

- name: cleanup
Expand Down

0 comments on commit b17d881

Please sign in to comment.