diff --git a/append_file.sh b/append_file.sh
old mode 100644
new mode 100755
diff --git a/backup_file.sh b/backup_file.sh
old mode 100644
new mode 100755
diff --git a/cluster_plan.sh b/cluster_plan.sh
old mode 100644
new mode 100755
diff --git a/convert_file.sh b/convert_file.sh
old mode 100644
new mode 100755
diff --git a/convert_website.sh b/convert_website.sh
index 976a03e..46a9b80 100755
--- a/convert_website.sh
+++ b/convert_website.sh
@@ -19,10 +19,6 @@
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see .
-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
}
diff --git a/gemini_posts.sh b/gemini_posts.sh
old mode 100644
new mode 100755
diff --git a/gopher_map.sh b/gopher_map.sh
old mode 100644
new mode 100755
diff --git a/gopher_perm.sh b/gopher_perm.sh
old mode 100644
new mode 100755
index e69de29..8a8ba63
--- a/gopher_perm.sh
+++ b/gopher_perm.sh
@@ -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 .
+
+GopherDir="/ftp/pub/users/scm"
+
+# Set the correct Gopher and Gemini permissions
+chmod -R 754 $GopherDir
+
+exit 0
diff --git a/gopher_posts.sh b/gopher_posts.sh
old mode 100644
new mode 100755
diff --git a/gopher_repo.sh b/gopher_repo.sh
old mode 100644
new mode 100755
index e69de29..06ed412
--- a/gopher_repo.sh
+++ b/gopher_repo.sh
@@ -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 .
+
+GopherDir="/ftp/pub/users/scm"
+
+# Copy the Gopher posts to the Gopher respository
+cp $GopherDir/posts $HOME/gophersite
+
+exit 0
diff --git a/insert_break.sh b/insert_break.sh
old mode 100644
new mode 100755
diff --git a/meta_plan.sh b/meta_plan.sh
old mode 100644
new mode 100755
diff --git a/remove_blank.sh b/remove_blank.sh
old mode 100644
new mode 100755
diff --git a/remove_control.sh b/remove_control.sh
old mode 100644
new mode 100755
diff --git a/remove_tabs.sh b/remove_tabs.sh
old mode 100644
new mode 100755
diff --git a/web_perms.sh b/web_perms.sh
old mode 100644
new mode 100755
diff --git a/write_header.sh b/write_header.sh
old mode 100644
new mode 100755