From f3995a3063f91fdb67eba3e50420e9e426f68393 Mon Sep 17 00:00:00 2001 From: "jacob.eva" Date: Thu, 8 Aug 2024 15:16:35 +0100 Subject: [PATCH] Create pkg and mirrors if the dirs don't exist --- sbapp/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sbapp/Makefile b/sbapp/Makefile index c992834..a750259 100644 --- a/sbapp/Makefile +++ b/sbapp/Makefile @@ -55,6 +55,8 @@ endif fetchshare: -(rm ./share/pkg/*) -(rm ./share/mirrors/* -r) + if [ ! -d "./share/pkg" ]; then mkdir ./share/pkg; fi + if [ ! -d "./share/mirrors" ]; then mkdir ./share/mirrors; fi cp ../../dist_archive/rns-*-py3-none-any.whl ./share/pkg/ cp ../../dist_archive/rnspure-*-py3-none-any.whl ./share/pkg/ cp ../../dist_archive/lxmf-*-py3-none-any.whl ./share/pkg/