mirror of
https://github.com/89luca89/distrobox.git
synced 2025-02-25 18:55:25 -06:00
@@ -120,7 +120,7 @@ for config_file in ${config_files}; do
|
||||
# Shellcheck will give error for sourcing a variable file as it cannot follow
|
||||
# it. We don't care so let's disable this linting for now.
|
||||
# shellcheck disable=SC1090
|
||||
[ -e "${config_file}" ] && . "$(realpath "${config_file}")"
|
||||
[ -e "${config_file}" ] && . "$(realpath "${config_file}")"
|
||||
done
|
||||
# If we're running this script as root -- as in logged in in the shell as root
|
||||
# user, and not via SUDO/DOAS --, we don't need to set distrobox_sudo_program
|
||||
|
||||
@@ -100,7 +100,7 @@ for config_file in ${config_files}; do
|
||||
# Shellcheck will give error for sourcing a variable file as it cannot follow
|
||||
# it. We don't care so let's disable this linting for now.
|
||||
# shellcheck disable=SC1090
|
||||
[ -e "${config_file}" ] && . "$(realpath "${config_file}")"
|
||||
[ -e "${config_file}" ] && . "$(realpath "${config_file}")"
|
||||
done
|
||||
# If we're running this script as root -- as in, logged in in the shell as root
|
||||
# user, and not via SUDO/DOAS --, we don't need to set distrobox_sudo_program
|
||||
|
||||
@@ -68,7 +68,7 @@ for config_file in ${config_files}; do
|
||||
# Shellcheck will give error for sourcing a variable file as it cannot follow
|
||||
# it. We don't care so let's disable this linting for now.
|
||||
# shellcheck disable=SC1090
|
||||
[ -e "${config_file}" ] && . "$(realpath "${config_file}")"
|
||||
[ -e "${config_file}" ] && . "$(realpath "${config_file}")"
|
||||
done
|
||||
|
||||
# Print usage to stdout.
|
||||
|
||||
@@ -2004,7 +2004,7 @@ if [ -n "${DISTROBOX_HOST_HOME-}" ] && [ -d "/etc/skel" ]; then
|
||||
cp "${skel_file}" "${container_user_home}/${file_path_for_home:+"${file_path_for_home}"/}${base_file_name}"
|
||||
fi
|
||||
done
|
||||
chown -R "${container_user_uid}":"${container_user_gid}" "${container_user_home}/${file_path_for_home:+"${file_path_for_home}"/}"
|
||||
chown -R "${container_user_uid}":"${container_user_gid}" "${container_user_home}/${file_path_for_home:+"${file_path_for_home}"/}"
|
||||
fi
|
||||
###############################################################################
|
||||
|
||||
|
||||
@@ -67,7 +67,7 @@ for config_file in ${config_files}; do
|
||||
# Shellcheck will give error for sourcing a variable file as it cannot follow
|
||||
# it. We don't care so let's disable this linting for now.
|
||||
# shellcheck disable=SC1090
|
||||
[ -e "${config_file}" ] && . "$(realpath "${config_file}")"
|
||||
[ -e "${config_file}" ] && . "$(realpath "${config_file}")"
|
||||
done
|
||||
# If we're running this script as root -- as in logged in in the shell as root
|
||||
# user, and not via SUDO/DOAS --, we don't need to set distrobox_sudo_program
|
||||
|
||||
@@ -77,7 +77,7 @@ for config_file in ${config_files}; do
|
||||
# Shellcheck will give error for sourcing a variable file as it cannot follow
|
||||
# it. We don't care so let's disable this linting for now.
|
||||
# shellcheck disable=SC1090
|
||||
[ -e "${config_file}" ] && . "$(realpath "${config_file}")"
|
||||
[ -e "${config_file}" ] && . "$(realpath "${config_file}")"
|
||||
done
|
||||
# If we're running this script as root - as in logged in in the shell as root
|
||||
# user, and not via SUDO/DOAS -, we don't need to set distrobox_sudo_program
|
||||
|
||||
@@ -75,7 +75,7 @@ for config_file in ${config_files}; do
|
||||
# Shellcheck will give error for sourcing a variable file as it cannot follow
|
||||
# it. We don't care so let's disable this linting for now.
|
||||
# shellcheck disable=SC1090
|
||||
[ -e "${config_file}" ] && . "$(realpath "${config_file}")"
|
||||
[ -e "${config_file}" ] && . "$(realpath "${config_file}")"
|
||||
done
|
||||
# If we're running this script as root - as in logged in in the shell as root
|
||||
# user, and not via SUDO/DOAS -, we don't need to set distrobox_sudo_program
|
||||
|
||||
@@ -62,7 +62,7 @@ for config_file in ${config_files}; do
|
||||
# Shellcheck will give error for sourcing a variable file as it cannot follow
|
||||
# it. We don't care so let's disable this linting for now.
|
||||
# shellcheck disable=SC1090
|
||||
[ -e "${config_file}" ] && . "$(realpath "${config_file}")"
|
||||
[ -e "${config_file}" ] && . "$(realpath "${config_file}")"
|
||||
done
|
||||
# If we're running this script as root - as in logged in in the shell as root
|
||||
# user, and not via SUDO/DOAS -, we don't need to set distrobox_sudo_program
|
||||
|
||||
Reference in New Issue
Block a user