We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b836c57 commit ba4610aCopy full SHA for ba4610a
1 file changed
scripts/configure-system.sh
@@ -187,7 +187,7 @@ TEXT_EDITOR_TAB_SIZE=4
187
TEXT_EDITOR_WORD_WRAP=false
188
189
# Set the default shell
190
-[ -n "${SHELL}" ] && sudo chsh -s "${SHELL}" "${USER}"
+[ -n "${SHELL}" ] && ${HAS_SU_ACCESS} && sudo chsh -s "${SHELL}" "${USER}"
191
192
if ${HAS_GUI}; then
193
if [[ "${ICON_THEME}" == *"Papirus"* ]] \
0 commit comments