format fix

This commit is contained in:
Ben
2021-03-03 22:39:44 -05:00
parent a9c53ca3fa
commit 47d741e069

View File

@@ -11,8 +11,9 @@ if [[ -z "${RCLONE_CONFIG}" ]]; then
echo "RCLONE_CONFIG is not specified. Files will not persist"
else
echo "Copying rclone config..."
mkdir -p /home/coder/.config/rclone
echo $RCLONE_CONFIG | base64 -d > /home/coder/.config/rclone/rclone.conf
mkdir -p /home/coder/.config/rclone/
touch /home/coder/.config/rclone/rclone.conf
echo ($RCLONE_CONFIG | base64 -d) > /home/coder/.config/rclone/rclone.conf
# serve remote files on the first item in the rclone config
# rclone serve sftp code-server-files:/home/coder/ --no-auth --vfs-cache-mode full&