From f3b6d107ee7efcd74844e187188556bbe6fbcb21 Mon Sep 17 00:00:00 2001 From: Ilia Rostovtsev Date: Tue, 30 Oct 2018 10:57:33 +0300 Subject: [PATCH] Fix to enter target path first https://www.virtualmin.com/comment/804282 --- update-from-repo.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/update-from-repo.sh b/update-from-repo.sh index 92d9b473d..131c3e466 100755 --- a/update-from-repo.sh +++ b/update-from-repo.sh @@ -3,7 +3,7 @@ # Update webmin/usermin to the latest develop version from GitHub repo # inspired by authentic-theme/theme-update.sh script, thanks @rostovtsev # -VERS="1.6.7, 2018-08-23" +VERS="1.6.8, 2018-10-30" # COPY=" Kay Marquardt https://github.com/gnadelwartz" ############################################################################# @@ -277,7 +277,10 @@ fi ################ # here we go - + + # Enter to the dir first - important if run from different location + cd ${DIR} + # remove temporary files from failed run rm -rf .~files # pull source from github