More changes!

This commit is contained in:
2025-10-03 17:08:08 +00:00
parent a0636335a1
commit a9cb913d53
17 changed files with 56 additions and 9 deletions

0
append_file.sh Normal file → Executable file
View File

0
backup_file.sh Normal file → Executable file
View File

0
cluster_plan.sh Normal file → Executable file
View File

0
convert_file.sh Normal file → Executable file
View File

View File

@@ -19,10 +19,6 @@
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
GopherDir="/ftp/pub/users/scm"
WebDir="/www/nz/s/scm"
WebTextDir="/www/nz/s/scm/text"
backup_file () {
sh $HOME/website-to-other/backup_file.sh
}
@@ -80,17 +76,14 @@ web_perms () {
}
gopher_perms () {
# Set the correct Gopher and Gemini permissions
chmod -R 754 $GopherDir
sh $HOME/website-to-other/gopher_perms.sh
}
gopher_repo () {
# Copy the Gopher posts to the Gopher respository
cp $GopherDir/posts $HOME/gophersite
sh $HOME/website-to-other/gopher_repo.sh
}
clean_up () {
# Unless the debug option is invoked, clean up unneeded files
sh $HOME/website-to-other/cleanup.sh
}

0
gemini_posts.sh Normal file → Executable file
View File

0
gopher_map.sh Normal file → Executable file
View File

27
gopher_perm.sh Normal file → Executable file
View File

@@ -0,0 +1,27 @@
#!/usr/bin/env bash
# gopher_perms.sh
# This script is part of the website-to-other project, which converts my
# website to other formats.
# Copyright (c) 2024, 2025, Scott C. MacCallum (scm@sdf.org).
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
GopherDir="/ftp/pub/users/scm"
# Set the correct Gopher and Gemini permissions
chmod -R 754 $GopherDir
exit 0

0
gopher_posts.sh Normal file → Executable file
View File

27
gopher_repo.sh Normal file → Executable file
View File

@@ -0,0 +1,27 @@
#!/usr/bin/env bash
# gopher_repo.sh
# This script is part of the website-to-other project, which converts my
# website to other formats.
# Copyright (c) 2024, 2025, Scott C. MacCallum (scm@sdf.org).
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
GopherDir="/ftp/pub/users/scm"
# Copy the Gopher posts to the Gopher respository
cp $GopherDir/posts $HOME/gophersite
exit 0

0
insert_break.sh Normal file → Executable file
View File

0
meta_plan.sh Normal file → Executable file
View File

0
remove_blank.sh Normal file → Executable file
View File

0
remove_control.sh Normal file → Executable file
View File

0
remove_tabs.sh Normal file → Executable file
View File

0
web_perms.sh Normal file → Executable file
View File

0
write_header.sh Normal file → Executable file
View File