From 51a3668a9fe0db8be2c5181ac8cda173716e88e2 Mon Sep 17 00:00:00 2001 From: GenZmeY Date: Sun, 19 Jul 2020 12:19:54 +0300 Subject: [PATCH] fix: misprint --- SOURCES/kf2-srv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SOURCES/kf2-srv b/SOURCES/kf2-srv index 1d4c523..66117a4 100644 --- a/SOURCES/kf2-srv +++ b/SOURCES/kf2-srv @@ -467,7 +467,7 @@ function create_cache () if [[ -L "$DefaultDownloadDir" ]]; then install -d -g "$SteamUser" -o "$SteamUser" -m 775 "$DownloadDir" elif [[ -d "$DefaultDownloadDir" ]]; then - mv -rf "$DefaultDownloadDir" "$DownloadDir" + mv -f "$DefaultDownloadDir" "$DownloadDir" ln -s "$DownloadDir" "$DefaultDownloadDir" else install -d -g "$SteamUser" -o "$SteamUser" -m 775 "$DownloadDir"