diff --git a/bin/cosmic-roster b/bin/cosmic-roster index 7332116..57a65db 100755 --- a/bin/cosmic-roster +++ b/bin/cosmic-roster @@ -11,7 +11,7 @@ trap finish EXIT temp_roster=$(mktemp -t "$(basename "$0").roster.XXXXXXX") || exit 1 # find all ship folders -find "/var/gopher/" -maxdepth 1 ! -path "/var/gopher/" ! -path "/var/gopher/ships" -type d | while read -r shipdir +find "/var/gopher/" -maxdepth 1 ! -path "/var/gopher/" ! -path "/var/gopher/ships" ! -path "/var/gopher/log" -type d | while read -r shipdir do owner=$(stat -c %U "$shipdir") printf "%s|%s\\n" "$owner" "$(basename "$shipdir")" >> "$temp_roster" diff --git a/bin/cosmic-web b/bin/cosmic-web index f069fb1..3ee9b6e 100755 --- a/bin/cosmic-web +++ b/bin/cosmic-web @@ -73,7 +73,7 @@ if [ "$run_user" -eq 0 ]; then fi } >> "${ships_html}" # Add header info to html output - find "/var/gopher/" -maxdepth 1 ! -path "/var/gopher/" ! -path "/var/gopher/ships" -type d -print | sed 's|/var/gopher/||' | sort | while read -r ship + find "/var/gopher/" -maxdepth 1 ! -path "/var/gopher/" ! -path "/var/gopher/ships" ! -path "/var/gopher/log" -type d -print | sed 's|/var/gopher/||' | sort | while read -r ship do printf "🢒 %s\\n" "$ship" "$ship" >> "$ships_html" # Create individual ship log page @@ -105,7 +105,7 @@ if [ "$run_user" -eq 0 ]; then { printf "\\n" printf "\\n" - printf "n" + printf "" } >> "${ships_html}" else