From 3ae03a676d80cbaea50cf3f5b0232ac4f2f6313e Mon Sep 17 00:00:00 2001 From: Wolfgang Walther Date: Mon, 25 Nov 2024 22:43:21 +0100 Subject: [PATCH] nixos/tasks: remove obsolete tty-backgrounds-combine.sh file This should have been removed in 82e1d0c8b1b82345703caaf69afe94a809586e63. --- .../modules/tasks/tty-backgrounds-combine.sh | 32 ------------------- 1 file changed, 32 deletions(-) delete mode 100644 nixos/modules/tasks/tty-backgrounds-combine.sh diff --git a/nixos/modules/tasks/tty-backgrounds-combine.sh b/nixos/modules/tasks/tty-backgrounds-combine.sh deleted file mode 100644 index 55c3a1ebfa8abb..00000000000000 --- a/nixos/modules/tasks/tty-backgrounds-combine.sh +++ /dev/null @@ -1,32 +0,0 @@ -source $stdenv/setup - -ttys=($ttys) -themes=($themes) - -mkdir -p $out - -defaultName=$(cd $default && ls | grep -v default) -echo $defaultName -ln -s $default/$defaultName $out/$defaultName -ln -s $defaultName $out/default - -for ((n = 0; n < ${#ttys[*]}; n++)); do - tty=${ttys[$n]} - theme=${themes[$n]} - - echo "TTY $tty -> $theme" - - if [ "$theme" != default ]; then - themeName=$(cd $theme && ls | grep -v default) - ln -sfn $theme/$themeName $out/$themeName - else - themeName=default - fi - - if test -e $out/$tty; then - echo "Multiple themes defined for the same TTY!" - exit 1 - fi - - ln -sfn $themeName $out/$tty -done