From bbfd8a65a2238fd301ed5592f4bd2a83774fb237 Mon Sep 17 00:00:00 2001 From: Alexander Golubev Date: Wed, 3 Sep 2025 02:10:17 +0300 Subject: fixup! starttde: A lot of minor changes --- starttde | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/starttde b/starttde index 8bc3a8728..0a7010c74 100755 --- a/starttde +++ b/starttde @@ -220,9 +220,8 @@ if ! is_in_path PATH "$TDEDIR/games" ; then # are adding $TDEDIR/games elsewhere, then they need to ensure the traditional # search patch is respected. # This order is consistent with tdelibs/tdesu/stub.cpp. - # FIXME - # Is there a way to check that $TDEDIR/games is always placed only just - # before /usr/games in the search path? + # FIXME: Is there a way to check that $TDEDIR/games is always placed only + # just before /usr/games in the search path? if is_in_path PATH "/usr/games"; then place_before_in_path PATH "$TDEDIR/games" "/usr/games" else @@ -237,8 +236,7 @@ if ! is_in_path PATH "$TDEDIR/bin" ; then # $TDEDIR/bin elsewhere, then they need to ensure the traditional search patch # is respected. # This order is consistent with tdelibs/tdesu/stub.cpp. - # FIXME - # Is there a way to check that $TDEDIR/bin is always placed only just + # FIXME: Is there a way to check that $TDEDIR/bin is always placed only just # before /usr/bin in the search path? if is_in_path PATH "/usr/bin"; then place_before_in_path PATH "$TDEDIR/bin" "/usr/bin" @@ -313,7 +311,7 @@ if [ "$TDEDIR" != "/usr" ] && [ -d $TDEDIR/share ]; then XDG_DATA_DIRS=$XDG_DATA_DIRS:/usr/share fi fi - # If '/usr/local/share' is empty then include before '/usr/share'. + # If '/usr/local/share' is not already there, we include it before '/usr/share' if ! is_in_path XDG_DATA_DIRS "/usr/local/share"; then place_before_in_path XDG_DATA_DIRS "/usr/local/share" "/usr/share" fi -- cgit v1.2.3