From: Christian Heller Date: Sun, 12 Apr 2020 21:12:06 +0000 (+0200) Subject: Fix. X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/%7B%7Bprefix%7D%7D/%7B%7Bdb.prefix%7D%7D/foo.html?a=commitdiff_plain;h=a701a1de82dbcf7a127598ea15d8889bc724916f;p=config Fix. --- diff --git a/buster/setup_scripts/setup_dumpsite.sh b/buster/setup_scripts/setup_dumpsite.sh index 860a3a0..f1690ac 100755 --- a/buster/setup_scripts/setup_dumpsite.sh +++ b/buster/setup_scripts/setup_dumpsite.sh @@ -43,10 +43,11 @@ su -lc "ln -s /home/plom/${geheim_dir} /var/www-dump/${geheim_dir}" plom #echo "foo:{PLAIN}${password_geheim}" > /var/www-dump/password_geheim #echo "geheim password is: ${password_geheim}" cp "${config_tree_prefix}/setup_scripts/mirror_dir.sh" /home/plom/ -su -lc "./mirror_dir.sh ${old_server} /home/plom/{dump_dir}" plom -su -lc "./mirror_dir.sh ${old_server} /home/plom/{geheim_dir}" plom -scp plom@${old_server}:/var/www-dump/password_geheim /var/www-dump/password_geheim -rm /home/plom/{prepare_to_meet_server,mirror_dir}.sh +su -lc "./mirror_dir.sh ${old_server} /home/plom/${dump_dir}" plom +su -lc "./mirror_dir.sh ${old_server} /home/plom/${geheim_dir}" plom +su -lc "scp plom@${old_server}:/var/www-dump/password_geheim ~" plom +mv /home/plom/password_geheim /var/www-dump/password_geheim +rm /home/plom/mirror_dir.sh # Set up redo. wget http://news.dieweltistgarnichtso.net/bin/archives/redo-sh.tar.gz @@ -80,7 +81,7 @@ service url_catcher start 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/{prepare_to_meet_server,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