From 8fb93a768598d1f8208b751104b9a2b6b9a93982 Mon Sep 17 00:00:00 2001 From: Jens Steube Date: Mon, 26 Nov 2018 09:17:24 +0100 Subject: [PATCH] Add new layouts folder to binary package script --- tools/package_bin.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tools/package_bin.sh b/tools/package_bin.sh index e028a55c1..00aceebcb 100755 --- a/tools/package_bin.sh +++ b/tools/package_bin.sh @@ -20,6 +20,7 @@ cp $IN/hashcat.hcstat2 $OUT/ cp -r $IN/docs $OUT/ cp -r $IN/charsets $OUT/ +cp -r $IN/layouts $OUT/ cp -r $IN/masks $OUT/ cp -r $IN/rules $OUT/ cp -r $IN/extra $OUT/ @@ -37,12 +38,14 @@ for example in example[0123456789]*.sh; do done +dos2unix $OUT/layouts/*.hckmap dos2unix $OUT/masks/*.hcmask dos2unix $OUT/rules/*.rule dos2unix $OUT/rules/hybrid/*.rule dos2unix $OUT/docs/* dos2unix $OUT/example* +unix2dos $OUT/layouts/*.hckmap unix2dos $OUT/masks/*.hcmask unix2dos $OUT/rules/*.rule unix2dos $OUT/rules/hybrid/*.rule @@ -58,6 +61,8 @@ chmod 755 $OUT/docs chmod 644 $OUT/docs/* chmod 755 $OUT/charsets chmod 755 $OUT/charsets/* +chmod 755 $OUT/layouts +chmod 644 $OUT/layouts/* chmod 755 $OUT/masks chmod 644 $OUT/masks/* chmod 644 $OUT/example*