mirror of
https://github.com/Leseratte10/acsm-calibre-plugin.git
synced 2024-11-16 11:46:10 +06:00
23 lines
460 B
Bash
Executable File
23 lines
460 B
Bash
Executable File
#!/bin/bash
|
|
|
|
[ ! -f calibre-plugin/cryptography.zip ] && ./package_modules.sh
|
|
[ ! -f calibre-plugin/rsa.zip ] && ./package_modules.sh
|
|
[ ! -f calibre-plugin/asn1crypto.zip ] && ./package_modules.sh
|
|
[ ! -f calibre-plugin/oscrypto.zip ] && ./package_modules.sh
|
|
[ ! -f calibre-plugin/pyasn1.zip ] && ./package_modules.sh
|
|
|
|
pushd calibre-plugin
|
|
pushd keyextract
|
|
|
|
# Compile:
|
|
make
|
|
|
|
popd
|
|
|
|
echo -n "2021-12-15-01" > module_id.txt
|
|
|
|
zip -r ../calibre-plugin.zip *
|
|
|
|
popd
|
|
|