Skip to content

Commit

Permalink
feat: link distrobox binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
mirkobrombin committed Dec 19, 2023
1 parent 1a8acd5 commit 7a99469
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/sh
targets="distrobox distrobox-host-exec distrobox-assemble distrobox-init distrobox-create distrobox-list distrobox-enter distrobox-rm distrobox-ephemeral distrobox-stop distrobox-export distrobox-upgrade distrobox-generate-entry"
for target in $targets; do
echo "#!/bin/sh" > /usr/share/apx/distrobox/$target
echo "host-spawn /usr/share/apx/distrobox/$target \$@" >> /usr/share/apx/distrobox/$target
chmod +x /usr/share/apx/distrobox/$target
done
1 change: 1 addition & 0 deletions recipe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ modules:
- 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
- sh /usr/share/apx/distrobox/gen-distrobox-links

- name: cleanup
type: shell
Expand Down

0 comments on commit 7a99469

Please sign in to comment.