From bd36ac3f8bd65f9695193fe8c6bfbb2a2aed63fb Mon Sep 17 00:00:00 2001 From: Marcin Rataj Date: Sat, 13 Feb 2021 00:29:47 +0100 Subject: [PATCH] chore: remove duplicate copy License: MIT Signed-off-by: Marcin Rataj --- mirrorzim.sh | 3 --- src/site-transforms.ts | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/mirrorzim.sh b/mirrorzim.sh index aa73430..854d447 100755 --- a/mirrorzim.sh +++ b/mirrorzim.sh @@ -108,9 +108,6 @@ node ./bin/run $TMP_DIRECTORY \ ${HOSTING_IPNS_HASH:+--hostingipnshash=$HOSTING_IPNS_HASH} \ ${MAIN_PAGE_VERSION:+--mainpageversion=$MAIN_PAGE_VERSION} -printf "\nAdding original ZIM to the root dir:\n" -cp -v ./snapshots/$ZIM_FILE $TMP_DIRECTORY - printf "\nAdding the processed tmp directory to IPFS: be patient (it takes a few hours), and keep this terminal open\n" CID=$(ipfs add -r --cid-version 1 --pin=false --offline -Qp $TMP_DIRECTORY) MFS_DIR="/${ZIM_FILE}_$(date +%F_%T)" diff --git a/src/site-transforms.ts b/src/site-transforms.ts index 9e474f3..885429c 100644 --- a/src/site-transforms.ts +++ b/src/site-transforms.ts @@ -79,7 +79,7 @@ export const includeSourceZim = ({ return } - cli.action.start(' Copying source ZIM to the root of unpacked version ') + cli.action.start(' Copying source ZIM to the root of unpacked zim directory ') copyFileSync(zimFile, zimCopy) cli.action.stop() }