Skip to content

Commit

Permalink
create: resolve eventual symlinks for distrobox utilities (#82)
Browse files Browse the repository at this point in the history
* create: resolve eventual symlinks for distrobox utilities

* Update README.md
  • Loading branch information
89luca89 authored Jan 1, 2022
1 parent 30fd878 commit 37f300d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ Distrobox has been successfully tested on:
| EndlessOS | 4.0.0 | |
| OpenSUSE | Leap 15</br>Tumbleweed | |
| OpenSUSE MicroOS | 20211209 | |
| NixOS | 21.11 | To setup Docker, look [HERE](https://nixos.wiki/wiki/Docker) </br>To setup Podman, look [HERE](https://nixos.wiki/wiki/Podman) and [HERE](https://gist.github.com/adisbladis/187204cb772800489ee3dac4acdd9947) |
| NixOS | 21.11 | To install distrobox:</br>`mkdir -p ~/.local/bin`</br>Add `PATH=$PATH:$HOME/.local/bin` to your bashrc</br>Execute [THIS](#installation) command without sudo.</br>To setup Docker, look [HERE](https://nixos.wiki/wiki/Docker) </br>To setup Podman, look [HERE](https://nixos.wiki/wiki/Podman) and [HERE](https://gist.github.com/adisbladis/187204cb772800489ee3dac4acdd9947) |
| Void Linux | glibc | Systemd service export will not work.</br>To setup graphical app exporting, you need to install `xhost` and add this to your `~/.xinitrc`: </br> `xhost +si:localuser:$USER`. |

#### New Host Distro support
Expand Down
4 changes: 2 additions & 2 deletions distrobox-create
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ container_user_gid="$(id -rg)"
container_user_home="${HOME:-"/"}"
container_user_name="${USER}"
container_user_uid="$(id -ru)"
distrobox_entrypoint_path="$(command -v distrobox-init)"
distrobox_export_path="$(command -v distrobox-export)"
distrobox_entrypoint_path="$(realpath "$(command -v distrobox-init)")"
distrobox_export_path="$(realpath "$(command -v distrobox-export)")"
non_interactive="${DBX_NON_INTERACTIVE:-0}"
verbose=0
version="1.2.7"
Expand Down

0 comments on commit 37f300d

Please sign in to comment.