diff options
author | olpc user <olpc@xo-5d-f7-86.localdomain> | 2020-01-07 17:52:10 -0800 |
---|---|---|
committer | olpc user <olpc@xo-5d-f7-86.localdomain> | 2020-01-07 17:52:10 -0800 |
commit | ecd1089e9f529d5c168da85056da1ab576638ad5 (patch) | |
tree | 8e1ba309bcb09daeda1e3108b963192d7ccbad9d /git-maintenance/get.sh | |
parent | d2f1d006905b5d7c4bdf9255ae050330a6a7fbaa (diff) | |
download | standingwithresilience-ecd1089e9f529d5c168da85056da1ab576638ad5.tar.gz standingwithresilience-ecd1089e9f529d5c168da85056da1ab576638ad5.zip |
realized was not making deterministic files; using -J now, all files differ but should stay
Diffstat (limited to 'git-maintenance/get.sh')
-rwxr-xr-x | git-maintenance/get.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/git-maintenance/get.sh b/git-maintenance/get.sh index a655762..7bff0ab 100755 --- a/git-maintenance/get.sh +++ b/git-maintenance/get.sh @@ -37,12 +37,12 @@ mv -f objects/pack/* objects/pack.bak/ # 3. download .git/encrypted with wget curl -sfI "$URLPFX"/refs.aes>/dev/null && wget "$URLPFX"/refs.aes -O encrypted/refs.aes || echo "==== BROKEN REMOTE refs.aes PLEASE RE-STORE OR RECOVER ====" -openssl aes-256-cbc -salt -pbkdf2 -pass "file:$PASS" -d -in encrypted/refs.aes | tar -zxvf - +openssl aes-256-cbc -salt -pbkdf2 -pass "file:$PASS" -d -in encrypted/refs.aes | tar -Jxvf - for encpack in $(<encrypted/list.txt) do wget "$URLPFX"/"$encpack" -O .git/encrypted/"$encpack" - openssl aes-256-cbc -salt -pbkdf2 -pass "file:$PASS" -d -in .git/encrypted/"$encpack" | tar -zxvf - + openssl aes-256-cbc -salt -pbkdf2 -pass "file:$PASS" -d -in .git/encrypted/"$encpack" | tar -Jxvf - done for pack in objects/pack/*.pack |