home · contact · privacy
Fix.
[config] / buster / setup_scripts / setup_dumpsite.sh
index f1690ac6576c28436847e04812d87db5b84c680a..71cc6f5bd7c32e2febccd3f6458036ed5a704da0 100755 (executable)
@@ -78,10 +78,11 @@ su -lc "cd url-catcher && ln -s ../blog/captchas/linkable/ captchas" plom
 cp "${config_tree_prefix}/other_files/url-catcher_customizations.json" /home/plom/url-catcher/customizations.json
 systemctl enable url_catcher.service
 service url_catcher start
+# Outcomment if setting up new / not migrating.
 cp "${config_tree_prefix}/setup_scripts/mirror_dir.sh" /home/plom/
 su -lc "./mirror_dir.sh ${old_server} /home/plom/url-catcher/ips" plom
 su -lc "./mirror_dir.sh ${old_server} /home/plom/url-catcher/lists" plom
-rm /home/plom/,mirror_dir.sh
+rm /home/plom/mirror_dir.sh
 
 # Set up index.html
 cp "${config_tree_prefix}/other_files/dumpsite_index.html" /var/www-dump/index.html