Create pkg and mirrors if the dirs don't exist

This commit is contained in:
jacob.eva 2024-08-08 15:16:35 +01:00
parent 2914026379
commit f3995a3063
No known key found for this signature in database
GPG Key ID: 0B92E083BBCCAA1E

View File

@ -55,6 +55,8 @@ endif
fetchshare: fetchshare:
-(rm ./share/pkg/*) -(rm ./share/pkg/*)
-(rm ./share/mirrors/* -r) -(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/rns-*-py3-none-any.whl ./share/pkg/
cp ../../dist_archive/rnspure-*-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/ cp ../../dist_archive/lxmf-*-py3-none-any.whl ./share/pkg/