diff --git a/cosmic-rss b/cosmic-rss index a3c255d..47c0cd1 100755 --- a/cosmic-rss +++ b/cosmic-rss @@ -10,6 +10,7 @@ if [ "$run_user" -eq 0 ]; then printf "\\nCosmic Voyage\\n" printf "gopher://cosmic.voyage\\n" printf "Messages from the human stellar diaspora\\n" + printf "%s\\n" "$(date +'%a, %d %b %Y %H:%M:%S')" } > "${file_rss}" # Loop through listings gophermap diff --git a/cosmic-ship b/cosmic-ship index 3abd897..ac0e58a 100755 --- a/cosmic-ship +++ b/cosmic-ship @@ -14,6 +14,8 @@ if [ "$run_user" -eq 0 ]; then mkdir "$path" chmod 755 "$path" chown -R "${n}" "$path" + mkdir -p "/home/${n}/ships" + ln -s "$path" "/home/${n}/ships/${s}" sed -e "s/username/${n}/g" -e "s/shipname/${s}/" /etc/newship.tmpl | sendmail "${n}" "tomasino" else owner=$(stat -c %U "$path")