Fixed SDF host

This commit is contained in:
Scott C. MacCallum 2023-02-15 21:56:36 +00:00
commit 92757634bd
2 changed files with 10 additions and 1 deletions

View File

@ -12,6 +12,12 @@ wget -O /sdf/arpa/ns/s/scm/index.html https://scm.sdf.org
wget -O /sdf/arpa/ns/s/scm/02.html https://scm.sdf.org/posts/2023/02.html wget -O /sdf/arpa/ns/s/scm/02.html https://scm.sdf.org/posts/2023/02.html
# Remove the posts lines
sed -i 's:<h3>Posts<\/h3>::' /sdf/arpa/ns/s/scm/index.html
sed -i 's:<h4><a href="https\:\/\/scm.sdf.org\/posts\/2023\/02.html">2023<\/a><\/h4>::' /sdf/arpa/ns/s/scm/index.html
# Convert the index.html file to an index text file # Convert the index.html file to an index text file
html2text -o /sdf/arpa/ns/s/scm/index -ascii -style pretty /sdf/arpa/ns/s/scm/index.html html2text -o /sdf/arpa/ns/s/scm/index -ascii -style pretty /sdf/arpa/ns/s/scm/index.html

View File

@ -2,10 +2,13 @@
sh /meta/s/scm/sdf/push-website.sh sh /meta/s/scm/sdf/push-website.sh
chmod -R 750 /meta/www/s/scm mkhomepg -p
<<<<<<< HEAD
chown -R scm:www /meta/www/s/scm chown -R scm:www /meta/www/s/scm
=======
>>>>>>> 8386881c7a9832182fe279ceb8de1a069561f4df
ssh scm@tty.sdf.org ksh /sdf/arpa/ns/s/scm/sdf/cluster-web-to-other.ksh ssh scm@tty.sdf.org ksh /sdf/arpa/ns/s/scm/sdf/cluster-web-to-other.ksh
chmod -R 755 /meta/gemini/scm chmod -R 755 /meta/gemini/scm