From d22f6725fdddaea94d1be8583a589f68616c9dbf Mon Sep 17 00:00:00 2001 From: Peter Mosmans Date: Mon, 21 Nov 2016 20:39:09 +1000 Subject: [PATCH] Replace zip with 7zip --- chatops/bash/releaser.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chatops/bash/releaser.sh b/chatops/bash/releaser.sh index e483420..0cdcdf6 100644 --- a/chatops/bash/releaser.sh +++ b/chatops/bash/releaser.sh @@ -42,7 +42,7 @@ if [ -f ${source} ]; then else cp -v ${source} ${fullname} PASS=$(head -c 25 /dev/random | base64 | head -c 25) - zip --password ${PASS} "${fullname}.zip" ${fullname} 2>/dev/null && echo "Zip file encrypted with password '${PASS}'" + 7z a -p${PASS} "${fullname}.zip" ${fullname} 2>/dev/null && echo "Zip file encrypted with password '${PASS}'" fi else echo "Could not find source ${source}"