#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
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