mirror of
https://github.com/Leseratte10/acsm-calibre-plugin.git
synced 2024-12-22 09:19:55 +06:00
5a4d25e91d
* Not all systems have GNU sed, so don't assume `sed -i` works * Not all systems have /bin/bash, so use `env` to find bash
24 lines
544 B
Bash
Executable File
24 lines
544 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# Copyright (c) 2021-2023 Leseratte10
|
|
# This file is part of the ACSM Input Plugin by Leseratte10
|
|
# ACSM Input Plugin for Calibre / acsm-calibre-plugin
|
|
#
|
|
# For more information, see:
|
|
# https://github.com/Leseratte10/acsm-calibre-plugin
|
|
|
|
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
|
|
|