From fc60f80d6083bb6a5b3d4e170faa48448df53dda Mon Sep 17 00:00:00 2001 From: LizenzFass78851 <82592556+LizenzFass78851@users.noreply.github.com> Date: Thu, 5 Oct 2023 13:51:49 +0200 Subject: [PATCH] Update linux-uupdump-get-fileinfo+packs.sh --- uupdump/linux-uupdump-get-fileinfo+packs.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/uupdump/linux-uupdump-get-fileinfo+packs.sh b/uupdump/linux-uupdump-get-fileinfo+packs.sh index a8bcfa1..77ba951 100644 --- a/uupdump/linux-uupdump-get-fileinfo+packs.sh +++ b/uupdump/linux-uupdump-get-fileinfo+packs.sh @@ -39,9 +39,10 @@ echo "" fileinfoandpacksrepo="https://github.com/uup-dump" packs="packs.git" fileinfo="fileinfo.git" -git clone $fileinfoandpacksrepo/$packs packs -git clone $fileinfoandpacksrepo/$fileinfo fileinfo - +[ -d ./packs ] && cd packs && git pull origin && cd .. +[ ! -d ./packs ] && git clone $fileinfoandpacksrepo/$packs packs +[ -d ./fileinfo ] && cd fileinfo && git pull origin && cd .. +[ ! -d ./fileinfo ] && git clone $fileinfoandpacksrepo/$fileinfo fileinfo echo ""