Fix cache deletion code

This commit is contained in:
Starbeamrainbowlabs 2019-06-22 10:57:11 +01:00
parent cdc9dcc3e3
commit 3bb73ccb12
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

2
build
View file

@ -363,7 +363,7 @@ SFTPCOMMANDS
echo "mv \"${deploy_root_dir}/www\" \"${deploy_root_dir}/www-old\"";
echo "mv \"${deploy_root_dir}/www-new\" \"${deploy_root_dir}/www\"";
echo "rm -r \"../data/cache\"";
echo "rm -r \"${deploy_root_dir}/data/cache\"";
echo "rm -r \"${deploy_root_dir}/www-old\"";
echo "bye";
) >"${lftp_commands_filename}";