We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b83b35e commit 2ffd0f6Copy full SHA for 2ffd0f6
distrobox-create
@@ -215,7 +215,10 @@ generate_command() {
215
--volume /tmp:/tmp:rslave"
216
217
# Mount also the /var/home dir on ostree based systems
218
- if [ -d "/var/home/${container_user_name}" ]; then
+ # do this only if $HOME was not already set to /var/home/username
219
+ if [ "${container_user_home}" != "/var/home/${container_user_name}" ] &&
220
+ [ -d "/var/home/${container_user_name}" ]; then
221
+
222
result_command="${result_command}
223
--volume /var/home/${container_user_name}:/var/home/${container_user_name}:rslave"
224
fi
0 commit comments