diff --git a/includes.container/usr/share/apx/distrobox/gen-distrobox-links b/includes.container/usr/share/apx/distrobox/gen-distrobox-links new file mode 100644 index 0000000..fb604a5 --- /dev/null +++ b/includes.container/usr/share/apx/distrobox/gen-distrobox-links @@ -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 \ No newline at end of file diff --git a/recipe.yml b/recipe.yml index 8648f8a..9771323 100644 --- a/recipe.yml +++ b/recipe.yml @@ -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