You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
298 B
Bash
17 lines
298 B
Bash
#!/bin/bash
|
|
|
|
rm -rf calibre-plugin-tmp || /bin/true
|
|
|
|
mkdir calibre-plugin-tmp
|
|
cp migration_plugin/* calibre-plugin-tmp/
|
|
cp LICENSE calibre-plugin-tmp/
|
|
|
|
pushd calibre-plugin-tmp
|
|
|
|
# Create ZIP file from calibre-plugin folder.
|
|
zip -r ../calibre-migration-plugin.zip *
|
|
|
|
popd
|
|
rm -rf calibre-plugin-tmp
|
|
|