From b3c2985544c556450dd77da578db4f62fe47ca6c Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Tue, 28 Nov 2023 19:08:49 +0000 Subject: [PATCH] install.sh: fix harmless error message on install This was caused by trying to write to a non existent file, and changing the order of the cleanup fixed it. https://forum.rclone.org/t/rclone-v1-65-0-release/43100/18 --- docs/content/install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/content/install.sh b/docs/content/install.sh index 302882d82..075e6deef 100755 --- a/docs/content/install.sh +++ b/docs/content/install.sh @@ -193,12 +193,12 @@ case "$OS" in exit 2 esac -#cleanup -rm -rf "$tmp_dir" - #update version variable post install version=$(rclone --version 2>>errors | head -n 1) +#cleanup +rm -rf "$tmp_dir" + printf "\n${version} has successfully installed." printf '\nNow run "rclone config" for setup. Check https://rclone.org/docs/ for more details.\n\n' exit 0