From bc2e21f7e3d54571e49e7ea178b6c65816656749 Mon Sep 17 00:00:00 2001 From: "Jorge O. Castro" Date: Sat, 27 Jul 2024 16:11:35 -0400 Subject: [PATCH] fix(just): drop chsh snippet We're removing chsh from the image, this removes the just snippet. --- build/ublue-os-just/00-default.just | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/build/ublue-os-just/00-default.just b/build/ublue-os-just/00-default.just index 87321d30..6e0e06ac 100644 --- a/build/ublue-os-just/00-default.just +++ b/build/ublue-os-just/00-default.just @@ -20,21 +20,6 @@ logs-this-boot: logs-last-boot: sudo journalctl -b -1 -# Change the user's shell -chsh new_shell: - #!/usr/bin/bash - set -euo pipefail - if [ "{{ shell }}" = "{{ new_shell }}" ] ; then - printf "Your shell is already set to %s.\n" "{{ new_shell }}" - else - if [ -x "{{ new_shell }}" ] ; then - sudo usermod $USER --shell "{{ new_shell }}" - printf "%s's shell is now %s.\n" "$USER" "{{ new_shell }}" - else - echo "{{ new_shell }} does not exist or is not executable!" - fi - fi - # Regenerate GRUB config, useful in dual-boot scenarios where a second operating system isn't listed regenerate-grub: #!/usr/bin/bash